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.001761/0.001761, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002085/0.002085, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 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 1.459/1.459, allocations: 230.3 MB / 258 MB, free: 8.207 MB / 206.1 MB
"
[Timeout remaining time 178]
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 0.001943/0.001943, allocations: 59.89 kB / 378.8 MB, free: 2.766 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.292, allocations: 53.37 MB / 432.1 MB, free: 7.062 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.0087/0.3007, allocations: 6.584 MB / 438.7 MB, free: 464 kB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005096/0.3058, allocations: 2.651 MB / 441.4 MB, free: 13.79 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008447/0.3067, allocations: 19.94 kB / 441.4 MB, free: 13.77 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003299/0.31, allocations: 1.287 MB / 442.7 MB, free: 12.48 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001673/0.3116, allocations: 0.5318 MB / 443.2 MB, free: 11.95 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.3143, allocations: 1.275 MB / 444.5 MB, free: 10.68 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001529/0.3158, allocations: 1.075 MB / 445.5 MB, free: 9.594 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.317, allocations: 0.7021 MB / 446.2 MB, free: 8.875 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006624/0.3177, allocations: 454.4 kB / 446.7 MB, free: 8.43 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0008178/0.3185, allocations: 0.5524 MB / 447.2 MB, free: 7.875 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.3187, allocations: 99.94 kB / 447.3 MB, free: 7.777 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008684/0.3196, allocations: 419.7 kB / 447.7 MB, free: 7.367 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.3198, allocations: 227.2 kB / 448 MB, free: 7.145 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000598/0.3204, allocations: 0.5208 MB / 448.5 MB, free: 6.621 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00198/0.3224, allocations: 1.533 MB / 450 MB, free: 5.082 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3224, allocations: 0 / 450 MB, free: 5.082 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.132e-06/0.3224, allocations: 0 / 450 MB, free: 5.082 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 2.809e-05/0.3224, allocations: 0 / 450 MB, free: 5.082 MB / 350.1 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.004903/0.3273, allocations: 1.7 MB / 451.7 MB, free: 3.34 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.3274, allocations: 8.031 kB / 451.7 MB, free: 3.332 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003349/0.3307, allocations: 475.8 kB / 452.2 MB, free: 2.867 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007866/0.3315, allocations: 449.1 kB / 452.6 MB, free: 2.402 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.645e-05/0.3316, allocations: 86.2 kB / 452.7 MB, free: 2.316 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.3318, allocations: 116 kB / 452.8 MB, free: 2.203 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.3338, allocations: 0.9667 MB / 453.8 MB, free: 1.207 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.3339, allocations: 4 kB / 453.8 MB, free: 1.203 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.334, allocations: 44 kB / 453.8 MB, free: 1.16 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.334, allocations: 32 kB / 453.9 MB, free: 1.129 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.336, allocations: 0.9613 MB / 454.8 MB, free: 164 kB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006466/0.3425, allocations: 3.5 MB / 458.3 MB, free: 12.48 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.3443, allocations: 0.828 MB / 459.2 MB, free: 11.64 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008345/0.3452, allocations: 391 kB / 459.5 MB, free: 11.27 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.3453, allocations: 36.95 kB / 459.6 MB, free: 11.23 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009617/0.3462, allocations: 482.4 kB / 460.1 MB, free: 10.73 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=96): time 2.946e-06/0.3462, allocations: 0 / 460.1 MB, free: 10.73 MB / 366.1 MB
Notification: Performance of matching and sorting (n=125): time 0.009626/0.3559, allocations: 3.703 MB / 463.8 MB, free: 6.992 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.356, allocations: 141.5 kB / 463.9 MB, free: 6.824 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005077/0.3565, allocations: 413.5 kB / 464.3 MB, free: 6.414 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.934e-05/0.3565, allocations: 45.7 kB / 464.3 MB, free: 6.363 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.3569, allocations: 441 kB / 464.8 MB, free: 5.926 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003732/0.3573, allocations: 448.1 kB / 465.2 MB, free: 5.484 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003247/0.3576, allocations: 202.9 kB / 465.4 MB, free: 5.281 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001978/0.3578, allocations: 378.8 kB / 465.8 MB, free: 4.902 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007754/0.3586, allocations: 346.5 kB / 466.1 MB, free: 4.562 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009399/0.3595, allocations: 0.539 MB / 466.7 MB, free: 3.957 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/0.3613, allocations: 0.9264 MB / 467.6 MB, free: 2.977 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.3613, allocations: 3.984 kB / 467.6 MB, free: 2.973 MB / 366.1 MB
Notification: Performance of matching and sorting (n=158) (initialization): time 0.002793/0.3641, allocations: 1.367 MB / 469 MB, free: 1.582 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.3641, allocations: 8 kB / 469 MB, free: 1.574 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.3641, allocations: 4 kB / 469 MB, free: 1.57 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0009535/0.365, allocations: 351.1 kB / 469.3 MB, free: 1.215 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000884/0.3659, allocations: 203.7 kB / 469.5 MB, free: 1.016 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008864/0.3748, allocations: 8.065 MB / 477.6 MB, free: 8.512 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007118/0.3755, allocations: 44.11 kB / 477.6 MB, free: 8.469 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.3756, allocations: 55.98 kB / 477.7 MB, free: 8.414 MB / 382.1 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.000463/0.3761, allocations: 257.6 kB / 477.9 MB, free: 8.152 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.3762, allocations: 79.52 kB / 478 MB, free: 8.074 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002832/0.3791, allocations: 1.282 MB / 479.3 MB, free: 6.77 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.3791, allocations: 12 kB / 479.3 MB, free: 6.758 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/0.3791, allocations: 8 kB / 479.3 MB, free: 6.75 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.3791, allocations: 7.984 kB / 479.3 MB, free: 6.742 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004669/0.3838, allocations: 2.493 MB / 481.8 MB, free: 4.168 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.3838, allocations: 3.938 kB / 481.8 MB, free: 4.164 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007452/0.3845, allocations: 163.7 kB / 482 MB, free: 4.004 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0008829/0.3854, allocations: 331.3 kB / 482.3 MB, free: 3.668 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.081e-05/0.3855, allocations: 27.98 kB / 482.3 MB, free: 3.641 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008245/0.3937, allocations: 7.699 MB / 490 MB, free: 11.5 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3937, allocations: 4 kB / 490 MB, free: 11.49 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003532/0.3973, allocations: 1.806 MB / 491.8 MB, free: 9.645 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003404/0.3976, allocations: 151.5 kB / 492 MB, free: 9.496 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.3977, allocations: 27.94 kB / 492 MB, free: 9.469 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005458/0.3983, allocations: 35.98 kB / 492 MB, free: 9.434 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.3984, allocations: 104.7 kB / 492.1 MB, free: 9.332 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.049e-05/0.3985, allocations: 40.17 kB / 492.2 MB, free: 9.293 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0003436/0.3989, allocations: 275.2 kB / 492.4 MB, free: 9.02 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.3989, allocations: 0 / 492.4 MB, free: 9.02 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.001169/0.4, allocations: 316 kB / 492.8 MB, free: 8.711 MB / 398.1 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.000335/0.4004, allocations: 183 kB / 492.9 MB, free: 8.52 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.002914/0.4033, allocations: 1.549 MB / 494.5 MB, free: 6.922 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4033, allocations: 4 kB / 494.5 MB, free: 6.918 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001791/0.4051, allocations: 1.099 MB / 495.6 MB, free: 5.773 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005747/0.4056, allocations: 73.58 kB / 495.7 MB, free: 5.699 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.4096, allocations: 1.932 MB / 497.6 MB, free: 3.719 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007679/0.4104, allocations: 1.032 MB / 498.6 MB, free: 2.66 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0004449/0.4108, allocations: 106.2 kB / 498.7 MB, free: 2.555 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.411, allocations: 59.42 kB / 498.8 MB, free: 2.496 MB / 398.1 MB
Notification: Performance of SimCode: time 1.233e-06/0.411, allocations: 0 / 498.8 MB, free: 2.496 MB / 398.1 MB
Notification: Performance of Templates: time 0.02532/0.4363, allocations: 12.18 MB / 0.499 GB, free: 6.324 MB / 414.1 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=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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: 5.1829321682453156]