Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001704/0.001704, allocations: 119.2 kB / 21.17 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002337/0.002337, allocations: 214.2 kB / 24.47 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.412/1.412, allocations: 230.5 MB / 258.1 MB, free: 8.121 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 67.83 kB / 378.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2424, allocations: 53.32 MB / 432 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004441/0.2468, allocations: 2.874 MB / 434.9 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.2489, allocations: 1.23 MB / 436.2 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.2491, allocations: 8 kB / 436.2 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.2507, allocations: 0.6287 MB / 436.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004223/0.2511, allocations: 139 kB / 436.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.2524, allocations: 0.6647 MB / 437.6 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004942/0.2529, allocations: 294.6 kB / 437.9 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004142/0.2533, allocations: 212.4 kB / 438.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.2536, allocations: 131.6 kB / 438.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.2538, allocations: 167.4 kB / 438.4 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.2539, allocations: 31.94 kB / 438.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003814/0.2542, allocations: 183.8 kB / 438.6 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.633e-05/0.2543, allocations: 63.77 kB / 438.7 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.2545, allocations: 151.2 kB / 438.8 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006779/0.2551, allocations: 0.4904 MB / 439.3 MB, free: 124 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2551, allocations: 3.984 kB / 439.3 MB, free: 120 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2551, allocations: 0 / 439.3 MB, free: 120 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.2551, allocations: 0 / 439.3 MB, free: 120 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001752/0.2569, allocations: 0.7365 MB / 440 MB, free: 15.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2569, allocations: 8.031 kB / 440 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008191/0.2578, allocations: 112.7 kB / 440.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.2582, allocations: 268.6 kB / 440.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.2582, allocations: 25.03 kB / 440.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/0.2582, allocations: 32.38 kB / 440.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005559/0.2588, allocations: 336.9 kB / 440.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.2588, allocations: 4 kB / 440.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.2589, allocations: 12 kB / 440.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.2589, allocations: 8 kB / 440.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/0.2593, allocations: 238.5 kB / 441.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/0.2614, allocations: 1.448 MB / 442.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007277/0.2622, allocations: 0.6731 MB / 443.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.2623, allocations: 92.83 kB / 443.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/0.2625, allocations: 182.1 kB / 443.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.2625, allocations: 34.5 kB / 443.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.422e-06/0.2625, allocations: 0 / 443.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001267/0.2638, allocations: 494.2 kB / 444 MB, free: 11.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.2639, allocations: 63.34 kB / 444 MB, free: 10.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.264, allocations: 171.3 kB / 444.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.2641, allocations: 29.7 kB / 444.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.2642, allocations: 184.4 kB / 444.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.19e-05/0.2642, allocations: 87.22 kB / 444.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.448e-05/0.2643, allocations: 49.98 kB / 444.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.2645, allocations: 334.8 kB / 444.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.2646, allocations: 64.55 kB / 444.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.2648, allocations: 140.9 kB / 445.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.2651, allocations: 220.9 kB / 445.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2651, allocations: 0 / 445.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005944/0.2657, allocations: 331.8 kB / 445.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.2657, allocations: 6.5 kB / 445.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2657, allocations: 4 kB / 445.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003313/0.266, allocations: 80.73 kB / 445.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.2662, allocations: 47.92 kB / 445.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.2684, allocations: 2.034 MB / 447.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.2685, allocations: 23.78 kB / 447.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.2686, allocations: 8 kB / 447.8 MB, free: 6.938 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.2687, allocations: 145.8 kB / 447.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.2688, allocations: 31.78 kB / 448 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005603/0.2693, allocations: 272.2 kB / 448.2 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.2693, allocations: 4 kB / 448.2 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2693, allocations: 0 / 448.2 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.2694, allocations: 7.984 kB / 448.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.2704, allocations: 0.6899 MB / 448.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2704, allocations: 3.938 kB / 448.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.2705, allocations: 27.98 kB / 449 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002302/0.2707, allocations: 64.81 kB / 449 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.2707, allocations: 8 kB / 449 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.2728, allocations: 2.027 MB / 451.1 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2728, allocations: 7.938 kB / 451.1 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006755/0.2735, allocations: 460.4 kB / 451.5 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.2736, allocations: 113 kB / 451.6 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.2736, allocations: 4 kB / 451.6 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.2737, allocations: 8 kB / 451.6 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.2738, allocations: 11.98 kB / 451.7 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.2738, allocations: 11.98 kB / 451.7 MB, free: 2.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.2739, allocations: 127.2 kB / 451.8 MB, free: 2.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2739, allocations: 0 / 451.8 MB, free: 2.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000488/0.2744, allocations: 91.78 kB / 451.9 MB, free: 2.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002213/0.2746, allocations: 135.2 kB / 452 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006393/0.2752, allocations: 346.5 kB / 452.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2752, allocations: 3.938 kB / 452.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003549/0.2756, allocations: 237.8 kB / 452.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.2759, allocations: 20 kB / 452.6 MB, free: 1.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.277, allocations: 0.602 MB / 453.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.2774, allocations: 0.7521 MB / 454 MB, free: 424 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.139e-05/0.2775, allocations: 19.44 kB / 454 MB, free: 404 kB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2775, allocations: 0 / 454 MB, free: 404 kB / 350.1 MB Notification: Performance of Templates: time 0.006847/0.2843, allocations: 4.129 MB / 458.1 MB, free: 12.27 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.045954396948218]