Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.001309/0.001309, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 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.001416/0.001416, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9319/0.9319, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.458e-05, allocations: 6.25 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007345/0.00737, allocations: 6.424 MB / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004362/0.01173, allocations: 2.546 MB / 281.9 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000554/0.01229, allocations: 23.94 kB / 281.9 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002135/0.01442, allocations: 1.353 MB / 283.3 MB, free: 7.047 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.01569, allocations: 0.5432 MB / 283.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.01748, allocations: 1.213 MB / 285 MB, free: 5.285 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.01866, allocations: 1.113 MB / 286.1 MB, free: 4.168 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.0197, allocations: 0.7777 MB / 286.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007197/0.02042, allocations: 0.651 MB / 287.6 MB, free: 2.715 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005633/0.02099, allocations: 426.8 kB / 288 MB, free: 2.297 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.02113, allocations: 96 kB / 288.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008294/0.02196, allocations: 407.3 kB / 288.5 MB, free: 1.805 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004398/0.0224, allocations: 235.1 kB / 288.7 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003438/0.02275, allocations: 363.1 kB / 289.1 MB, free: 1.219 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.02416, allocations: 1.09 MB / 290.1 MB, free: 128 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.02416, allocations: 0 / 290.1 MB, free: 128 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.02416, allocations: 4 kB / 290.1 MB, free: 124 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.976e-05/0.02418, allocations: 0 / 290.1 MB, free: 124 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.1149/0.1391, allocations: 1.82 MB / 292 MB, free: 18.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1391, allocations: 10.06 kB / 292 MB, free: 18.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.141, allocations: 0.6346 MB / 292.6 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005851/0.1416, allocations: 449.6 kB / 293.1 MB, free: 17.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.69e-05/0.1417, allocations: 86.31 kB / 293.1 MB, free: 17.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.1418, allocations: 115 kB / 293.2 MB, free: 17.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.143, allocations: 0.7719 MB / 294 MB, free: 17.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.143, allocations: 8.688 kB / 294 MB, free: 17.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-05/0.1431, allocations: 45.58 kB / 294.1 MB, free: 17.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.1431, allocations: 25.88 kB / 294.1 MB, free: 17.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009706/0.1441, allocations: 0.5501 MB / 294.6 MB, free: 17.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003725/0.1478, allocations: 2.884 MB / 297.5 MB, free: 16.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.1489, allocations: 0.7155 MB / 298.2 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003889/0.1493, allocations: 289.7 kB / 298.5 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.61e-05/0.1493, allocations: 32.77 kB / 298.6 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005335/0.1499, allocations: 448.4 kB / 299 MB, free: 16.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 4.599e-06/0.1499, allocations: 0 / 299 MB, free: 16.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.004767/0.1546, allocations: 2.918 MB / 301.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.1547, allocations: 144.9 kB / 302.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/0.155, allocations: 422 kB / 302.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.585e-05/0.1551, allocations: 46.8 kB / 302.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.1552, allocations: 487.5 kB / 303 MB, free: 14.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/0.1555, allocations: 441.2 kB / 303.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.1557, allocations: 224 kB / 303.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1558, allocations: 0.5584 MB / 304.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.1561, allocations: 201.8 kB / 304.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.1565, allocations: 0.5043 MB / 304.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007353/0.1573, allocations: 0.6989 MB / 305.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.1573, allocations: 1.406 kB / 305.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001281/0.1585, allocations: 1.104 MB / 306.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.1586, allocations: 7.781 kB / 306.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.1586, allocations: 3.219 kB / 306.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007851/0.1594, allocations: 396.1 kB / 307.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004404/0.1598, allocations: 207.2 kB / 307.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003713/0.1635, allocations: 9.363 MB / 316.7 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.1639, allocations: 43.09 kB / 316.7 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.1639, allocations: 43.94 kB / 316.8 MB, free: 3.578 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000207/0.1641, allocations: 225.7 kB / 317 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.1642, allocations: 111.6 kB / 317.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.1655, allocations: 1.002 MB / 318.1 MB, free: 2.336 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.1655, allocations: 12 kB / 318.1 MB, free: 2.324 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.1656, allocations: 14.25 kB / 318.1 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.1656, allocations: 3.984 kB / 318.1 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001984/0.1675, allocations: 1.953 MB / 320.1 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1676, allocations: 0 / 320.1 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.1679, allocations: 154.5 kB / 320.2 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007169/0.1686, allocations: 381.1 kB / 320.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.971e-05/0.1686, allocations: 31.98 kB / 320.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004763/0.1734, allocations: 8.99 MB / 329.6 MB, free: 6.359 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1734, allocations: 11.03 kB / 329.6 MB, free: 6.352 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.1751, allocations: 1.405 MB / 331 MB, free: 4.902 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/0.1753, allocations: 139.5 kB / 331.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/0.1753, allocations: 24 kB / 331.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.1756, allocations: 39.98 kB / 331.2 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.1757, allocations: 103.7 kB / 331.3 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/0.1758, allocations: 43.91 kB / 331.4 MB, free: 4.566 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001801/0.1759, allocations: 271.1 kB / 331.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1759, allocations: 0 / 331.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008978/0.1768, allocations: 315.9 kB / 331.9 MB, free: 3.992 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (rootMeanSquare.mean.x,coil.i,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000248/0.1771, allocations: 174.8 kB / 332.1 MB, free: 3.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001797/0.1789, allocations: 1.573 MB / 333.7 MB, free: 2.207 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1789, allocations: 4.062 kB / 333.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.1803, allocations: 1.244 MB / 334.9 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.1808, allocations: 85.72 kB / 335 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.1837, allocations: 1.772 MB / 336.8 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.1839, allocations: 207.6 kB / 337 MB, free: 14.78 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003074/0.1842, allocations: 102 kB / 337.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.1844, allocations: 56.48 kB / 337.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1844, allocations: 0 / 337.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of Templates: time 0.01929/0.2037, allocations: 12.1 MB / 349.2 MB, free: 2.73 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0065050260163844]