Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002024/0.002024, allocations: 185.2 kB / 24.51 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.581/1.581, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2741/0.2741, allocations: 44.91 MB / 353.5 MB, free: 11.83 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents")
translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 67.89 kB / 497.7 MB, free: 1.023 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4928/0.4948, allocations: 64.3 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005953/0.5008, allocations: 3.534 MB / 0.5523 GB, free: 10.37 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002182/0.503, allocations: 0.8038 MB / 0.5531 GB, free: 9.703 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002866/0.5032, allocations: 8.375 kB / 0.5531 GB, free: 9.703 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.5035, allocations: 79.28 kB / 0.5531 GB, free: 9.633 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.5039, allocations: 129.2 kB / 0.5533 GB, free: 9.52 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.5044, allocations: 135.4 kB / 0.5534 GB, free: 9.402 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0007598/0.5051, allocations: 0.5203 MB / 0.5539 GB, free: 9.082 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004039/0.5055, allocations: 181.9 kB / 0.5541 GB, free: 8.961 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004131/0.5059, allocations: 218.5 kB / 0.5543 GB, free: 8.836 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.5063, allocations: 234.5 kB / 0.5545 GB, free: 8.668 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.5064, allocations: 49.88 kB / 0.5546 GB, free: 8.668 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.5065, allocations: 48.44 kB / 0.5546 GB, free: 8.668 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.5067, allocations: 106 kB / 0.5547 GB, free: 8.578 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003295/0.507, allocations: 255.8 kB / 0.5549 GB, free: 8.402 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0008848/0.5079, allocations: 0.5566 MB / 0.5555 GB, free: 7.98 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5079, allocations: 0 / 0.5555 GB, free: 7.98 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.373e-06/0.5079, allocations: 1.062 kB / 0.5555 GB, free: 7.98 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.136e-05/0.5079, allocations: 0 / 0.5555 GB, free: 7.98 MB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 118
 * Number of variables: 118
Notification: Performance of Generate backend data structure: time 0.001682/0.5096, allocations: 0.6966 MB / 0.5562 GB, free: 7.43 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.5096, allocations: 9.516 kB / 0.5562 GB, free: 7.43 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.5098, allocations: 54.89 kB / 0.5562 GB, free: 7.402 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000573/0.5103, allocations: 266.6 kB / 0.5565 GB, free: 7.156 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.661e-05/0.5104, allocations: 37 kB / 0.5565 GB, free: 7.141 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-05/0.5104, allocations: 45.94 kB / 0.5566 GB, free: 7.125 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009399/0.5114, allocations: 469.6 kB / 0.557 GB, free: 6.836 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.5114, allocations: 0 / 0.557 GB, free: 6.836 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.855e-05/0.5115, allocations: 20.44 kB / 0.557 GB, free: 6.82 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.5115, allocations: 15.45 kB / 0.557 GB, free: 6.816 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008688/0.5123, allocations: 327.9 kB / 0.5574 GB, free: 6.602 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003067/0.5154, allocations: 1.612 MB / 0.5589 GB, free: 4.879 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008127/0.5162, allocations: 229 kB / 0.5591 GB, free: 4.637 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003708/0.5166, allocations: 121.7 kB / 0.5593 GB, free: 4.512 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.5166, allocations: 0 / 0.5593 GB, free: 4.512 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.182e-05/0.5167, allocations: 50.48 kB / 0.5593 GB, free: 4.453 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=26): time 1.423e-06/0.5167, allocations: 0 / 0.5593 GB, free: 4.453 MB / 398.1 MB
Notification: Performance of matching and sorting (n=34): time 0.003529/0.5202, allocations: 1.123 MB / 0.5604 GB, free: 3.27 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/0.5203, allocations: 88.95 kB / 0.5605 GB, free: 3.164 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003751/0.5207, allocations: 253.9 kB / 0.5607 GB, free: 2.906 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.5207, allocations: 41.64 kB / 0.5608 GB, free: 2.859 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.521, allocations: 264.1 kB / 0.561 GB, free: 2.598 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.5212, allocations: 126.9 kB / 0.5612 GB, free: 2.473 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.5213, allocations: 78.08 kB / 0.5612 GB, free: 2.391 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002299/0.5216, allocations: 338.8 kB / 0.5615 GB, free: 2.051 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.5218, allocations: 104.8 kB / 0.5616 GB, free: 1.949 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003866/0.5222, allocations: 220.3 kB / 0.5619 GB, free: 1.691 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007128/0.5229, allocations: 335 kB / 0.5622 GB, free: 1.324 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5229, allocations: 0 / 0.5622 GB, free: 1.324 MB / 398.1 MB
Notification: Performance of matching and sorting (n=53) (initialization): time 0.001027/0.524, allocations: 426.9 kB / 0.5626 GB, free: 0.9023 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.524, allocations: 8 kB / 0.5626 GB, free: 0.8945 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.524, allocations: 4 kB / 0.5626 GB, free: 0.8906 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002058/0.5242, allocations: 41.14 kB / 0.5626 GB, free: 0.8477 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005139/0.5247, allocations: 119.8 kB / 0.5627 GB, free: 0.7305 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.5262, allocations: 1.334 MB / 0.5641 GB, free: 15.27 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.5265, allocations: 19.98 kB / 0.5641 GB, free: 15.25 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.5266, allocations: 16 kB / 0.5641 GB, free: 15.23 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 14
 * 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 (51):
 * Single equations (assignments): 50
 * 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,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0002753/0.5268, allocations: 173.7 kB / 0.5643 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.873e-05/0.5269, allocations: 35.75 kB / 0.5643 GB, free: 15.02 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.285e-05/0.527, allocations: 38.11 kB / 0.5643 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.527, allocations: 0 / 0.5643 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.527, allocations: 4 kB / 0.5643 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.527, allocations: 0 / 0.5643 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.5283, allocations: 0.6902 MB / 0.565 GB, free: 14.23 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5283, allocations: 4 kB / 0.565 GB, free: 14.23 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.5287, allocations: 87.94 kB / 0.5651 GB, free: 14.14 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 9.952e-05/0.5288, allocations: 28.78 kB / 0.5651 GB, free: 14.11 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.5289, allocations: 11.94 kB / 0.5651 GB, free: 14.1 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.5304, allocations: 1.331 MB / 0.5664 GB, free: 12.66 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5304, allocations: 3.938 kB / 0.5664 GB, free: 12.65 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.5316, allocations: 0.6099 MB / 0.567 GB, free: 12.02 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.5317, allocations: 43.83 kB / 0.5671 GB, free: 11.98 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.5317, allocations: 8 kB / 0.5671 GB, free: 11.97 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.532, allocations: 19.98 kB / 0.5671 GB, free: 11.95 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.265e-05/0.5321, allocations: 27.89 kB / 0.5671 GB, free: 11.92 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.5321, allocations: 11.98 kB / 0.5671 GB, free: 11.91 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0002442/0.5323, allocations: 181.2 kB / 0.5673 GB, free: 11.73 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.5323, allocations: 4 kB / 0.5673 GB, free: 11.73 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0005409/0.5329, allocations: 96 kB / 0.5674 GB, free: 11.64 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi)
 * 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 (32):
 * Single equations (assignments): 31
 * 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,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.00018/0.5331, allocations: 103.1 kB / 0.5675 GB, free: 11.53 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0009672/0.534, allocations: 390.7 kB / 0.5679 GB, free: 11.13 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.534, allocations: 0 / 0.5679 GB, free: 11.13 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004433/0.5345, allocations: 250.4 kB / 0.5681 GB, free: 10.88 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005111/0.535, allocations: 48.95 kB / 0.5682 GB, free: 10.83 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.537, allocations: 0.9206 MB / 0.5691 GB, free: 9.871 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.5375, allocations: 0.8113 MB / 0.5698 GB, free: 9.031 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0001763/0.5377, allocations: 34.95 kB / 0.5699 GB, free: 8.996 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-05/0.5378, allocations: 27.44 kB / 0.5699 GB, free: 8.969 MB / 414.1 MB
Notification: Performance of SimCode: time 1.032e-06/0.5378, allocations: 0 / 0.5699 GB, free: 8.969 MB / 414.1 MB
Notification: Performance of Templates: time 0.009428/0.5472, allocations: 3.409 MB / 0.5732 GB, free: 5.59 MB / 414.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.729879435151815]