Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.001672/0.001672, allocations: 111.3 kB / 19.69 MB, free: 2.203 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.002104/0.002104, allocations: 186.7 kB / 22.98 MB, free: 5.078 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 207.6 MB / 233.7 MB, free: 10.01 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2364/0.2364, allocations: 44.23 MB / 330.2 MB, free: 9.633 MB / 270.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo)
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage")
translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 67.89 kB / 467.9 MB, free: 4.062 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1494, allocations: 61.04 MB / 0.5166 GB, free: 6.887 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007387/0.1568, allocations: 5.319 MB / 0.5218 GB, free: 1.539 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003876/0.1606, allocations: 1.647 MB / 0.5234 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003769/0.161, allocations: 16 kB / 0.5234 GB, free: 15.86 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003753/0.1648, allocations: 1.602 MB / 0.525 GB, free: 14.25 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001234/0.166, allocations: 305.7 kB / 0.5253 GB, free: 13.95 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.1676, allocations: 0.6774 MB / 0.5259 GB, free: 13.27 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001164/0.1688, allocations: 0.8047 MB / 0.5267 GB, free: 12.46 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0009547/0.1697, allocations: 0.5693 MB / 0.5273 GB, free: 11.88 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004494/0.1702, allocations: 346.7 kB / 0.5276 GB, free: 11.54 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006554/0.1708, allocations: 462.2 kB / 0.528 GB, free: 11.08 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.1709, allocations: 72 kB / 0.5281 GB, free: 11.01 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004582/0.1714, allocations: 191.8 kB / 0.5283 GB, free: 10.82 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.1716, allocations: 175.3 kB / 0.5285 GB, free: 10.65 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004064/0.172, allocations: 429.9 kB / 0.5289 GB, free: 10.23 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001453/0.1734, allocations: 1.159 MB / 0.53 GB, free: 9.066 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1734, allocations: 0 / 0.53 GB, free: 9.066 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.953e-06/0.1734, allocations: 0 / 0.53 GB, free: 9.066 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 1.405e-05/0.1734, allocations: 0 / 0.53 GB, free: 9.066 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: 252
 * Number of variables: 252
Notification: Performance of Generate backend data structure: time 0.003473/0.1769, allocations: 1.297 MB / 0.5313 GB, free: 7.738 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.177, allocations: 8.031 kB / 0.5313 GB, free: 7.73 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.1784, allocations: 232.2 kB / 0.5315 GB, free: 7.504 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.1787, allocations: 202 kB / 0.5317 GB, free: 7.281 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.284e-05/0.1788, allocations: 74.38 kB / 0.5318 GB, free: 7.207 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.179, allocations: 100.1 kB / 0.5319 GB, free: 7.109 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.1807, allocations: 0.936 MB / 0.5328 GB, free: 6.156 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.1807, allocations: 7.938 kB / 0.5328 GB, free: 6.148 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.578e-05/0.1808, allocations: 40 kB / 0.5328 GB, free: 6.109 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.467e-05/0.1808, allocations: 24 kB / 0.5328 GB, free: 6.086 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.1821, allocations: 0.726 MB / 0.5335 GB, free: 5.363 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005969/0.1881, allocations: 3.653 MB / 0.5371 GB, free: 1.418 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.1899, allocations: 0.7741 MB / 0.5379 GB, free: 0.6172 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/0.1903, allocations: 256.5 kB / 0.5381 GB, free: 364 kB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 8.467e-05/0.1904, allocations: 20.31 kB / 0.5381 GB, free: 344 kB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/0.1904, allocations: 38.89 kB / 0.5382 GB, free: 296 kB / 414.1 MB
Notification: Performance of pre-optimization done (n=66): time 3.757e-06/0.1904, allocations: 0 / 0.5382 GB, free: 296 kB / 414.1 MB
Notification: Performance of matching and sorting (n=66): time 0.2579/0.4483, allocations: 1.009 MB / 0.5392 GB, free: 28.01 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.4484, allocations: 138.3 kB / 0.5393 GB, free: 27.85 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/0.4488, allocations: 323.5 kB / 0.5396 GB, free: 27.74 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.4488, allocations: 36.67 kB / 0.5396 GB, free: 27.71 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.449, allocations: 410.6 kB / 0.54 GB, free: 27.5 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.4492, allocations: 243.3 kB / 0.5403 GB, free: 27.38 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.4494, allocations: 146.8 kB / 0.5404 GB, free: 27.35 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 7.578e-05/0.4494, allocations: 355 kB / 0.5407 GB, free: 27.04 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.4497, allocations: 197.6 kB / 0.5409 GB, free: 27.04 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/0.4501, allocations: 398 kB / 0.5413 GB, free: 26.82 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006713/0.4508, allocations: 0.6333 MB / 0.5419 GB, free: 26.6 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.4508, allocations: 2.312 kB / 0.5419 GB, free: 26.6 MB / 414.1 MB
Notification: Performance of matching and sorting (n=106) (initialization): time 0.001528/0.4523, allocations: 0.8743 MB / 0.5428 GB, free: 26.48 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.4524, allocations: 7.719 kB / 0.5428 GB, free: 26.48 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.4524, allocations: 6.328 kB / 0.5428 GB, free: 26.48 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0007027/0.4531, allocations: 226.3 kB / 0.543 GB, free: 26.44 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005179/0.4536, allocations: 142.3 kB / 0.5431 GB, free: 26.44 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004324/0.4579, allocations: 6.295 MB / 0.5493 GB, free: 20.75 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/0.4584, allocations: 86.89 kB / 0.5494 GB, free: 20.69 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/0.4584, allocations: 35.91 kB / 0.5494 GB, free: 20.68 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 26
 * 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 (82):
 * Single equations (assignments): 78
 * 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,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0002661/0.4587, allocations: 228.7 kB / 0.5496 GB, free: 20.48 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.4588, allocations: 40.56 kB / 0.5497 GB, free: 20.46 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.4599, allocations: 0.6717 MB / 0.5503 GB, free: 20.14 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.46, allocations: 8.375 kB / 0.5503 GB, free: 20.14 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.46, allocations: 5.875 kB / 0.5503 GB, free: 20.14 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.46, allocations: 4.625 kB / 0.5503 GB, free: 20.14 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.4622, allocations: 1.523 MB / 0.5518 GB, free: 19.29 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.4622, allocations: 5.344 kB / 0.5518 GB, free: 19.29 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.4624, allocations: 69.42 kB / 0.5519 GB, free: 19.28 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000493/0.4629, allocations: 218.6 kB / 0.5521 GB, free: 19.19 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/0.4629, allocations: 17.42 kB / 0.5521 GB, free: 19.18 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003994/0.4669, allocations: 6.285 MB / 0.5583 GB, free: 13.44 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4669, allocations: 4.828 kB / 0.5583 GB, free: 13.44 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.4683, allocations: 1.194 MB / 0.5594 GB, free: 12.68 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.4684, allocations: 52.67 kB / 0.5595 GB, free: 12.65 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.112e-05/0.4685, allocations: 16.25 kB / 0.5595 GB, free: 12.64 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.4688, allocations: 13.83 kB / 0.5595 GB, free: 12.63 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.4689, allocations: 56 kB / 0.5596 GB, free: 12.62 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.469, allocations: 17.53 kB / 0.5596 GB, free: 12.62 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0002339/0.4692, allocations: 220.3 kB / 0.5598 GB, free: 12.49 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.4692, allocations: 0 / 0.5598 GB, free: 12.49 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.001115/0.4703, allocations: 277.3 kB / 0.56 GB, free: 12.42 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma)
 * 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 (42):
 * Single equations (assignments): 38
 * 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,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002264/0.4705, allocations: 136.2 kB / 0.5602 GB, free: 12.31 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.00149/0.472, allocations: 1.044 MB / 0.5612 GB, free: 11.63 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.472, allocations: 0 / 0.5612 GB, free: 11.63 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0007609/0.4728, allocations: 0.771 MB / 0.562 GB, free: 11.04 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006706/0.4735, allocations: 40.55 kB / 0.562 GB, free: 11.01 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.4755, allocations: 1.242 MB / 0.5632 GB, free: 10.28 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.476, allocations: 0.9143 MB / 0.5641 GB, free: 9.566 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0002539/0.4762, allocations: 70.05 kB / 0.5642 GB, free: 9.543 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.068e-05/0.4763, allocations: 36.44 kB / 0.5642 GB, free: 9.531 MB / 414.1 MB
Notification: Performance of SimCode: time 8.22e-07/0.4763, allocations: 1.094 kB / 0.5642 GB, free: 9.531 MB / 414.1 MB
Notification: Performance of Templates: time 0.01499/0.4913, allocations: 7.37 MB / 0.5714 GB, free: 8.656 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.927805141545832]