Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.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.001444/0.001444, allocations: 108.5 kB / 21.23 MB, free: 0.5078 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.001452/0.001452, allocations: 190.5 kB / 24.51 MB, free: 3.898 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.556/1.556, allocations: 225.6 MB / 253.3 MB, free: 13 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.235/0.235, allocations: 44.91 MB / 353.5 MB, free: 11.81 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.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors")
translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 59.89 kB / 497.7 MB, free: 1 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4423/0.4445, allocations: 64.29 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.004066/0.4485, allocations: 1.939 MB / 0.5507 GB, free: 11.63 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001224/0.4497, allocations: 0.5751 MB / 0.5513 GB, free: 11.16 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.4499, allocations: 2.344 kB / 0.5513 GB, free: 11.16 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.4501, allocations: 39.86 kB / 0.5513 GB, free: 11.13 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.4502, allocations: 33.2 kB / 0.5513 GB, free: 11.11 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.4504, allocations: 36.52 kB / 0.5514 GB, free: 11.07 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002444/0.4507, allocations: 150.9 kB / 0.5515 GB, free: 10.98 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.4508, allocations: 57.02 kB / 0.5516 GB, free: 10.94 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.451, allocations: 63.94 kB / 0.5516 GB, free: 10.9 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.4511, allocations: 64.36 kB / 0.5517 GB, free: 10.86 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.479e-05/0.4512, allocations: 13.81 kB / 0.5517 GB, free: 10.86 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 3.059e-05/0.4512, allocations: 14.06 kB / 0.5517 GB, free: 10.86 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.442e-05/0.4513, allocations: 30.55 kB / 0.5517 GB, free: 10.83 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.735e-05/0.4513, allocations: 68.31 kB / 0.5518 GB, free: 10.78 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.4516, allocations: 162.3 kB / 0.552 GB, free: 10.66 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4516, allocations: 0 / 0.552 GB, free: 10.66 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.713e-06/0.4516, allocations: 0 / 0.552 GB, free: 10.66 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.413e-06/0.4516, allocations: 4 kB / 0.552 GB, free: 10.66 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: 33
 * Number of variables: 33
Notification: Performance of Generate backend data structure: time 0.0007223/0.4523, allocations: 366.7 kB / 0.5523 GB, free: 10.32 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.4524, allocations: 10.83 kB / 0.5523 GB, free: 10.32 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.688e-05/0.4525, allocations: 15.69 kB / 0.5523 GB, free: 10.31 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.4527, allocations: 152.4 kB / 0.5525 GB, free: 10.15 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.4528, allocations: 10.5 kB / 0.5525 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.4528, allocations: 16.62 kB / 0.5525 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.4532, allocations: 144 kB / 0.5527 GB, free: 10.04 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4532, allocations: 0 / 0.5527 GB, free: 10.04 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.4532, allocations: 5.062 kB / 0.5527 GB, free: 10.04 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.4532, allocations: 3.375 kB / 0.5527 GB, free: 10.04 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003421/0.4535, allocations: 105.3 kB / 0.5528 GB, free: 9.992 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.4549, allocations: 0.5682 MB / 0.5533 GB, free: 9.469 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.4552, allocations: 64.73 kB / 0.5534 GB, free: 9.426 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.4554, allocations: 33.69 kB / 0.5534 GB, free: 9.402 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.4554, allocations: 1.156 kB / 0.5534 GB, free: 9.402 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.4554, allocations: 35.75 kB / 0.5534 GB, free: 9.359 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=5): time 2.024e-06/0.4554, allocations: 0 / 0.5534 GB, free: 9.359 MB / 398.1 MB
Notification: Performance of matching and sorting (n=5): time 0.0005526/0.456, allocations: 114.3 kB / 0.5536 GB, free: 9.285 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.4561, allocations: 52.44 kB / 0.5536 GB, free: 9.223 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.4562, allocations: 157.9 kB / 0.5538 GB, free: 9.09 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.4563, allocations: 29.7 kB / 0.5538 GB, free: 9.055 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.4564, allocations: 136.3 kB / 0.5539 GB, free: 8.926 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.4564, allocations: 25.94 kB / 0.5539 GB, free: 8.902 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.279e-05/0.4565, allocations: 28.62 kB / 0.554 GB, free: 8.875 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001979/0.4567, allocations: 325.4 kB / 0.5543 GB, free: 8.551 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.4568, allocations: 28.69 kB / 0.5543 GB, free: 8.539 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.457, allocations: 66.67 kB / 0.5544 GB, free: 8.477 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.4572, allocations: 92.17 kB / 0.5545 GB, free: 8.406 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4572, allocations: 4 kB / 0.5545 GB, free: 8.402 MB / 398.1 MB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003363/0.4575, allocations: 122.4 kB / 0.5546 GB, free: 8.328 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.4576, allocations: 5.875 kB / 0.5546 GB, free: 8.328 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.4576, allocations: 1.094 kB / 0.5546 GB, free: 8.328 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.4576, allocations: 2.312 kB / 0.5546 GB, free: 8.328 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.4577, allocations: 32.2 kB / 0.5546 GB, free: 8.316 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.4577, allocations: 5.125 kB / 0.5546 GB, free: 8.312 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.4578, allocations: 22.62 kB / 0.5546 GB, free: 8.297 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.4579, allocations: 11.55 kB / 0.5547 GB, free: 8.289 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * 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 (11):
 * Single equations (assignments): 11
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.458, allocations: 116 kB / 0.5548 GB, free: 8.172 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.458, allocations: 11.95 kB / 0.5548 GB, free: 8.164 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/0.4581, allocations: 14.92 kB / 0.5548 GB, free: 8.148 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4581, allocations: 4.969 kB / 0.5548 GB, free: 8.145 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4581, allocations: 0 / 0.5548 GB, free: 8.145 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.4581, allocations: 0 / 0.5548 GB, free: 8.145 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.4583, allocations: 182.8 kB / 0.555 GB, free: 7.949 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4583, allocations: 3.938 kB / 0.555 GB, free: 7.945 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.256e-05/0.4584, allocations: 15.23 kB / 0.555 GB, free: 7.941 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4584, allocations: 0.8125 kB / 0.555 GB, free: 7.941 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.4585, allocations: 1.375 kB / 0.555 GB, free: 7.941 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.4585, allocations: 3.938 kB / 0.555 GB, free: 7.938 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4585, allocations: 0 / 0.555 GB, free: 7.938 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.4588, allocations: 187.3 kB / 0.5552 GB, free: 7.773 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.431e-05/0.4588, allocations: 10.25 kB / 0.5552 GB, free: 7.766 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.4588, allocations: 9.031 kB / 0.5552 GB, free: 7.758 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.672e-05/0.4589, allocations: 15.3 kB / 0.5552 GB, free: 7.746 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.459, allocations: 2.469 kB / 0.5552 GB, free: 7.746 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.459, allocations: 1.219 kB / 0.5552 GB, free: 7.746 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 9.608e-05/0.4591, allocations: 113.9 kB / 0.5553 GB, free: 7.652 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4591, allocations: 0 / 0.5553 GB, free: 7.652 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002626/0.4593, allocations: 27.38 kB / 0.5553 GB, free: 7.645 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 simulation (5):
 * Single equations (assignments): 5
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001116/0.4594, allocations: 95.28 kB / 0.5554 GB, free: 7.555 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002953/0.4597, allocations: 75.03 kB / 0.5555 GB, free: 7.52 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4597, allocations: 0 / 0.5555 GB, free: 7.52 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.4598, allocations: 24.17 kB / 0.5555 GB, free: 7.512 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.4601, allocations: 11.47 kB / 0.5555 GB, free: 7.504 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/0.4607, allocations: 276.7 kB / 0.5558 GB, free: 7.293 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.4611, allocations: 0.7017 MB / 0.5565 GB, free: 6.586 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 5.353e-05/0.4612, allocations: 11.94 kB / 0.5565 GB, free: 6.574 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.4612, allocations: 10.66 kB / 0.5565 GB, free: 6.566 MB / 398.1 MB
Notification: Performance of SimCode: time 4.31e-07/0.4612, allocations: 0 / 0.5565 GB, free: 6.566 MB / 398.1 MB
Notification: Performance of Templates: time 0.003683/0.4649, allocations: 0.7635 MB / 0.5573 GB, free: 6.184 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.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.338137180544436]