Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001288/0.001288, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001415/0.001415, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.48/1.48, allocations: 230.3 MB / 258 MB, free: 8.227 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2363/0.2363, allocations: 46.94 MB / 361.4 MB, free: 4.379 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo)
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(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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660]
"Warning: Requested package Modelica 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.002433/0.002433, allocations: 87.8 kB / 0.4972 GB, free: 7.504 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3734, allocations: 66.04 MB / 0.5617 GB, free: 4.504 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005766/0.3791, allocations: 3.553 MB / 0.5651 GB, free: 0.9336 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001907/0.381, allocations: 0.8412 MB / 0.5659 GB, free: 88 kB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003683/0.3814, allocations: 11.94 kB / 0.566 GB, free: 76 kB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000284/0.3817, allocations: 75.3 kB / 0.566 GB, free: 0 / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.00042/0.3821, allocations: 126.9 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.3826, allocations: 127.8 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0007056/0.3833, allocations: 0.5218 MB / 0.5668 GB, free: 15.22 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003615/0.3836, allocations: 190 kB / 0.567 GB, free: 15.04 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.384, allocations: 211.3 kB / 0.5672 GB, free: 14.83 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004037/0.3844, allocations: 235 kB / 0.5674 GB, free: 14.6 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.836e-05/0.3845, allocations: 55.94 kB / 0.5674 GB, free: 14.54 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.256e-05/0.3846, allocations: 48 kB / 0.5675 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.3847, allocations: 111.6 kB / 0.5676 GB, free: 14.39 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002655/0.3849, allocations: 250.9 kB / 0.5678 GB, free: 14.14 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006667/0.3856, allocations: 0.5513 MB / 0.5684 GB, free: 13.59 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3856, allocations: 0 / 0.5684 GB, free: 13.59 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.573e-06/0.3856, allocations: 0 / 0.5684 GB, free: 13.59 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 1.751e-05/0.3856, allocations: 4 kB / 0.5684 GB, free: 13.59 MB / 414.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.001481/0.3871, allocations: 0.6962 MB / 0.5691 GB, free: 12.86 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3871, allocations: 12.03 kB / 0.5691 GB, free: 12.85 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.3872, allocations: 52.61 kB / 0.5691 GB, free: 12.8 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/0.3877, allocations: 263.7 kB / 0.5694 GB, free: 12.51 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/0.3878, allocations: 33.38 kB / 0.5694 GB, free: 12.48 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.331e-05/0.3879, allocations: 44.38 kB / 0.5694 GB, free: 12.44 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009133/0.3888, allocations: 475.4 kB / 0.5699 GB, free: 11.95 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.3888, allocations: 0 / 0.5699 GB, free: 11.95 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.602e-05/0.3888, allocations: 23.98 kB / 0.5699 GB, free: 11.93 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.3888, allocations: 16 kB / 0.5699 GB, free: 11.91 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007619/0.3896, allocations: 320.1 kB / 0.5702 GB, free: 11.61 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002816/0.3924, allocations: 1.615 MB / 0.5718 GB, free: 9.883 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006102/0.393, allocations: 229 kB / 0.572 GB, free: 9.641 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.3934, allocations: 125.7 kB / 0.5722 GB, free: 9.512 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.3934, allocations: 4 kB / 0.5722 GB, free: 9.508 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.3934, allocations: 38.72 kB / 0.5722 GB, free: 9.461 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.3934, allocations: 3.938 kB / 0.5722 GB, free: 9.457 MB / 414.1 MB
Notification: Performance of matching and sorting (n=34): time 0.003216/0.3966, allocations: 1.123 MB / 0.5733 GB, free: 8.27 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.3967, allocations: 88.95 kB / 0.5734 GB, free: 8.164 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.397, allocations: 261.9 kB / 0.5736 GB, free: 7.902 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.3971, allocations: 29.7 kB / 0.5737 GB, free: 7.867 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.3972, allocations: 264.1 kB / 0.5739 GB, free: 7.605 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.3974, allocations: 134.9 kB / 0.574 GB, free: 7.473 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.3975, allocations: 74.09 kB / 0.5741 GB, free: 7.391 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001744/0.3977, allocations: 342.8 kB / 0.5744 GB, free: 7.047 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.398, allocations: 100.8 kB / 0.5745 GB, free: 6.949 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.3983, allocations: 220.3 kB / 0.5747 GB, free: 6.695 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006505/0.399, allocations: 341.5 kB / 0.5751 GB, free: 6.324 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.399, allocations: 0 / 0.5751 GB, free: 6.324 MB / 414.1 MB
Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009244/0.3999, allocations: 421.9 kB / 0.5755 GB, free: 5.902 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3999, allocations: 4 kB / 0.5755 GB, free: 5.898 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.3999, allocations: 4 kB / 0.5755 GB, free: 5.895 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001759/0.4001, allocations: 28.84 kB / 0.5755 GB, free: 5.863 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/0.4006, allocations: 132 kB / 0.5756 GB, free: 5.734 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.402, allocations: 1.335 MB / 0.5769 GB, free: 4.273 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.4023, allocations: 23.98 kB / 0.577 GB, free: 4.25 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.4023, allocations: 20 kB / 0.577 GB, free: 4.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.0002579/0.4026, allocations: 169.6 kB / 0.5771 GB, free: 4.055 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.794e-05/0.4027, allocations: 27.81 kB / 0.5772 GB, free: 4.027 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.037e-05/0.4028, allocations: 38.17 kB / 0.5772 GB, free: 3.992 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4028, allocations: 8 kB / 0.5772 GB, free: 3.984 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4028, allocations: 0 / 0.5772 GB, free: 3.984 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.4028, allocations: 3.984 kB / 0.5772 GB, free: 3.98 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.4041, allocations: 0.6755 MB / 0.5779 GB, free: 3.246 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4041, allocations: 64 / 0.5779 GB, free: 3.246 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/0.4045, allocations: 99.88 kB / 0.578 GB, free: 3.148 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 8.15e-05/0.4046, allocations: 28.78 kB / 0.578 GB, free: 3.117 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.4047, allocations: 15.92 kB / 0.578 GB, free: 3.102 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.4058, allocations: 1.315 MB / 0.5793 GB, free: 1.672 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4058, allocations: 3.938 kB / 0.5793 GB, free: 1.668 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.4068, allocations: 0.6019 MB / 0.5799 GB, free: 1.043 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.4069, allocations: 47.81 kB / 0.5799 GB, free: 0.9961 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.4069, allocations: 8 kB / 0.5799 GB, free: 0.9883 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.4072, allocations: 23.98 kB / 0.58 GB, free: 0.9648 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.68e-05/0.4073, allocations: 27.83 kB / 0.58 GB, free: 0.9375 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.4073, allocations: 12 kB / 0.58 GB, free: 0.9258 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0002033/0.4075, allocations: 185.2 kB / 0.5802 GB, free: 0.7422 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4075, allocations: 0 / 0.5802 GB, free: 0.7422 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0004876/0.408, allocations: 92 kB / 0.5803 GB, free: 0.6523 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.0001389/0.4081, allocations: 111.1 kB / 0.5804 GB, free: 0.5352 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0008633/0.409, allocations: 397.2 kB / 0.5807 GB, free: 140 kB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.409, allocations: 4.125 kB / 0.5808 GB, free: 136 kB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004206/0.4094, allocations: 246.5 kB / 0.581 GB, free: 15.88 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.4099, allocations: 40.48 kB / 0.581 GB, free: 15.84 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.4115, allocations: 0.9274 MB / 0.5819 GB, free: 14.88 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/0.412, allocations: 0.8074 MB / 0.5827 GB, free: 14.04 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.0001582/0.4122, allocations: 38.95 kB / 0.5828 GB, free: 14 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.148e-05/0.4122, allocations: 23.44 kB / 0.5828 GB, free: 13.98 MB / 430.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.4122, allocations: 0 / 0.5828 GB, free: 13.98 MB / 430.1 MB
Notification: Performance of Templates: time 0.008204/0.4204, allocations: 3.416 MB / 0.5861 GB, free: 10.59 MB / 430.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.575446488335729]