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.0007367/0.0007367, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009174/0.001654, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006613/0.0006613, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008626/0.001524, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9034/0.9034, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0868/0.9902, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.433e-06/1.433e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.826e-05, allocations: 6.25 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005501/0.005519, allocations: 6.378 MB / 251.4 MB, free: 7.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003566/0.009085, allocations: 2.646 MB / 254 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003823/0.009467, allocations: 20 kB / 254.1 MB, free: 4.574 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.01094, allocations: 1.345 MB / 255.4 MB, free: 3.223 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.01194, allocations: 0.5315 MB / 255.9 MB, free: 2.688 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.01358, allocations: 1.209 MB / 257.1 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000985/0.01456, allocations: 1.109 MB / 258.2 MB, free: 372 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008029/0.01536, allocations: 0.7741 MB / 259 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005971/0.01596, allocations: 0.6968 MB / 259.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004107/0.01637, allocations: 430.8 kB / 260.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.01648, allocations: 96 kB / 260.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000693/0.01717, allocations: 415.4 kB / 260.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.01728, allocations: 171.4 kB / 260.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.01752, allocations: 295.4 kB / 261.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.01853, allocations: 1 MB / 262.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.636e-05/0.01854, allocations: 4 kB / 262.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01855, allocations: 4 kB / 262.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.066e-05/0.01857, allocations: 0 / 262.1 MB, free: 12.47 MB / 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.002891/0.02146, allocations: 1.917 MB / 264 MB, free: 10.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.02149, allocations: 16.62 kB / 264 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.02316, allocations: 0.6679 MB / 264.7 MB, free: 9.824 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.0236, allocations: 312.9 kB / 265 MB, free: 9.488 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.869e-05/0.02365, allocations: 82.59 kB / 265.1 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.862e-05/0.02375, allocations: 116.1 kB / 265.2 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007243/0.02447, allocations: 0.7088 MB / 265.9 MB, free: 8.539 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.02449, allocations: 7.953 kB / 265.9 MB, free: 8.531 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.136e-05/0.02455, allocations: 48 kB / 266 MB, free: 8.484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.02456, allocations: 24 kB / 266 MB, free: 8.461 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004456/0.02501, allocations: 376.1 kB / 266.4 MB, free: 8.074 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002797/0.0278, allocations: 2.327 MB / 268.7 MB, free: 5.633 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006725/0.02848, allocations: 0.5983 MB / 269.3 MB, free: 5.027 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.0287, allocations: 216.4 kB / 269.5 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.703e-05/0.02877, allocations: 36.95 kB / 269.5 MB, free: 4.777 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00033/0.0291, allocations: 397.7 kB / 269.9 MB, free: 4.352 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.164e-06/0.02911, allocations: 0 / 269.9 MB, free: 4.352 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.003284/0.03239, allocations: 2.18 MB / 272.1 MB, free: 2.133 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.03244, allocations: 90.11 kB / 272.2 MB, free: 2.027 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.03265, allocations: 343.1 kB / 272.5 MB, free: 1.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.03269, allocations: 45.7 kB / 272.6 MB, free: 1.629 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.03286, allocations: 413.2 kB / 273 MB, free: 1.219 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.03303, allocations: 364.8 kB / 273.3 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.03318, allocations: 182.8 kB / 273.5 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.0333, allocations: 374.6 kB / 273.9 MB, free: 304 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.03343, allocations: 110.6 kB / 274 MB, free: 196 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1196/0.1531, allocations: 360.7 kB / 274.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006677/0.1537, allocations: 497.8 kB / 274.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.1537, allocations: 2.469 kB / 274.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001028/0.1548, allocations: 0.6348 MB / 275.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.1548, allocations: 6.531 kB / 275.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.1548, allocations: 4.312 kB / 275.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006403/0.1554, allocations: 212.8 kB / 275.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007059/0.1561, allocations: 238.7 kB / 275.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00271/0.1589, allocations: 4.5 MB / 280.4 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/0.1593, allocations: 40 kB / 280.4 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.082e-05/0.1593, allocations: 33.14 kB / 280.5 MB, free: 9.141 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 (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002243/0.1595, allocations: 172.1 kB / 280.6 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.1596, allocations: 74.45 kB / 280.7 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009467/0.1606, allocations: 0.6045 MB / 281.3 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.1606, allocations: 10.03 kB / 281.3 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.1606, allocations: 5.031 kB / 281.3 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.1606, allocations: 4.734 kB / 281.3 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.1624, allocations: 1.082 MB / 282.4 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.1624, allocations: 3.688 kB / 282.4 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000535/0.163, allocations: 171.7 kB / 282.6 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.1632, allocations: 80.81 kB / 282.7 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005725/0.1637, allocations: 208.5 kB / 282.9 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/0.1638, allocations: 21.84 kB / 282.9 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002463/0.1662, allocations: 4.515 MB / 287.4 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.1662, allocations: 5.891 kB / 287.4 MB, free: 4.918 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.1674, allocations: 0.8158 MB / 288.2 MB, free: 4.684 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.084e-05/0.1674, allocations: 19.44 kB / 288.3 MB, free: 4.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.1677, allocations: 32.58 kB / 288.3 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.1678, allocations: 86.34 kB / 288.4 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.94e-05/0.1679, allocations: 22.25 kB / 288.4 MB, free: 4.676 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001518/0.168, allocations: 130.8 kB / 288.5 MB, free: 4.652 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.168, allocations: 0 / 288.5 MB, free: 4.652 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009979/0.169, allocations: 270.3 kB / 288.8 MB, free: 4.652 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,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 (80): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,4,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003244/0.1693, allocations: 151.5 kB / 288.9 MB, free: 4.574 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.1706, allocations: 0.923 MB / 289.9 MB, free: 4.188 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.353e-05/0.1706, allocations: 16.84 kB / 289.9 MB, free: 4.188 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006689/0.1713, allocations: 0.7198 MB / 290.6 MB, free: 3.805 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.1716, allocations: 126.4 kB / 290.7 MB, free: 3.801 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00645/0.1781, allocations: 1.669 MB / 292.4 MB, free: 3.055 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.1782, allocations: 198.1 kB / 292.6 MB, free: 2.977 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002324/0.1784, allocations: 99.44 kB / 292.7 MB, free: 2.938 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.1786, allocations: 146.8 kB / 292.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1786, allocations: 0 / 292.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of Templates: time 0.01166/0.1903, allocations: 10.04 MB / 302.9 MB, free: 14.61 MB / 282.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 -ignoreHideResult -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: 2.6970028346404433]