Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.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.001512/0.001512, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.001718/0.001718, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.561/1.561, allocations: 230.3 MB / 258 MB, free: 8.211 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3477/0.3477, allocations: 46.89 MB / 361.3 MB, free: 4.512 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 79.86 kB / 0.497 GB, free: 7.605 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4037, allocations: 66.03 MB / 0.5615 GB, free: 4.602 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003507/0.4072, allocations: 1.971 MB / 0.5634 GB, free: 2.625 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001176/0.4084, allocations: 0.6037 MB / 0.564 GB, free: 2.016 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.757e-05/0.4085, allocations: 8 kB / 0.564 GB, free: 2.008 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.4087, allocations: 31.73 kB / 0.5641 GB, free: 1.977 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.4088, allocations: 35.7 kB / 0.5641 GB, free: 1.941 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.409, allocations: 51.86 kB / 0.5641 GB, free: 1.891 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002233/0.4092, allocations: 147.5 kB / 0.5643 GB, free: 1.746 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.4094, allocations: 49.36 kB / 0.5643 GB, free: 1.695 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.4095, allocations: 55.8 kB / 0.5644 GB, free: 1.641 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.4096, allocations: 67.69 kB / 0.5645 GB, free: 1.574 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.4096, allocations: 16 kB / 0.5645 GB, free: 1.559 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 2.93e-05/0.4097, allocations: 12 kB / 0.5645 GB, free: 1.547 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.954e-05/0.4097, allocations: 31.91 kB / 0.5645 GB, free: 1.516 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.708e-05/0.4098, allocations: 67.67 kB / 0.5646 GB, free: 1.449 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.41, allocations: 162.1 kB / 0.5647 GB, free: 1.293 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4101, allocations: 3.938 kB / 0.5647 GB, free: 1.289 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.573e-06/0.4101, allocations: 0 / 0.5647 GB, free: 1.289 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 9.517e-06/0.4101, allocations: 4 kB / 0.5647 GB, free: 1.285 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.0007087/0.4108, allocations: 374 kB / 0.5651 GB, free: 0.8867 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.4108, allocations: 8.031 kB / 0.5651 GB, free: 0.8789 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.4109, allocations: 16.84 kB / 0.5651 GB, free: 0.8633 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.4112, allocations: 150.2 kB / 0.5653 GB, free: 0.6914 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.4112, allocations: 8.656 kB / 0.5653 GB, free: 0.6836 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.4112, allocations: 16.38 kB / 0.5653 GB, free: 0.668 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.4116, allocations: 140.2 kB / 0.5654 GB, free: 0.5273 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4116, allocations: 0 / 0.5654 GB, free: 0.5273 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.4116, allocations: 11.98 kB / 0.5654 GB, free: 0.5156 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.4116, allocations: 4 kB / 0.5654 GB, free: 0.5117 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.4119, allocations: 100.8 kB / 0.5655 GB, free: 424 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.413, allocations: 0.5747 MB / 0.5661 GB, free: 15.78 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.4133, allocations: 66.58 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.4134, allocations: 29 kB / 0.5662 GB, free: 15.67 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.4134, allocations: 7.938 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.4135, allocations: 30.56 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=5): time 1.163e-06/0.4135, allocations: 0 / 0.5662 GB, free: 15.62 MB / 414.1 MB
Notification: Performance of matching and sorting (n=5): time 0.0004138/0.4139, allocations: 109.6 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.4139, allocations: 55.41 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.4141, allocations: 165.6 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.4141, allocations: 25.7 kB / 0.5666 GB, free: 15.24 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.694e-05/0.4142, allocations: 135.8 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.4142, allocations: 11.91 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-05/0.4143, allocations: 29.67 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001548/0.4144, allocations: 322.8 kB / 0.567 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.4146, allocations: 27.97 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.4147, allocations: 64.2 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.4151, allocations: 96.2 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4151, allocations: 0 / 0.5672 GB, free: 14.52 MB / 414.1 MB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003156/0.4154, allocations: 121.6 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.4154, allocations: 11.94 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.4154, allocations: 256 / 0.5673 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.4154, allocations: 7.938 kB / 0.5673 GB, free: 14.37 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.4156, allocations: 31.92 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4156, allocations: 0 / 0.5674 GB, free: 14.34 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.4157, allocations: 23.88 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.4157, allocations: 4 kB / 0.5674 GB, free: 14.31 MB / 414.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.0001146/0.4158, allocations: 127.1 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.4158, allocations: 7.953 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.4159, allocations: 20.33 kB / 0.5676 GB, free: 14.15 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4159, allocations: 3.938 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4159, allocations: 0 / 0.5676 GB, free: 14.14 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.4159, allocations: 0 / 0.5676 GB, free: 14.14 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.4161, allocations: 184.7 kB / 0.5677 GB, free: 13.92 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4161, allocations: 0 / 0.5677 GB, free: 13.92 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.402e-05/0.4162, allocations: 15.98 kB / 0.5677 GB, free: 13.91 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4162, allocations: 0 / 0.5677 GB, free: 13.91 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.4162, allocations: 4 kB / 0.5678 GB, free: 13.9 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.4162, allocations: 3.938 kB / 0.5678 GB, free: 13.9 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4162, allocations: 0 / 0.5678 GB, free: 13.9 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.4166, allocations: 183.5 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.179e-05/0.4166, allocations: 11.89 kB / 0.5679 GB, free: 13.69 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.4166, allocations: 3.938 kB / 0.5679 GB, free: 13.69 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.4167, allocations: 15.92 kB / 0.568 GB, free: 13.67 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.4167, allocations: 3.984 kB / 0.568 GB, free: 13.67 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.4167, allocations: 8 kB / 0.568 GB, free: 13.66 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 9.04e-05/0.4168, allocations: 103.3 kB / 0.5681 GB, free: 13.56 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4168, allocations: 0 / 0.5681 GB, free: 13.56 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002491/0.4171, allocations: 27.95 kB / 0.5681 GB, free: 13.53 MB / 414.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.0001102/0.4172, allocations: 95.23 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.000293/0.4175, allocations: 75.88 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4175, allocations: 0 / 0.5683 GB, free: 13.36 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.4176, allocations: 23.98 kB / 0.5683 GB, free: 13.33 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.4179, allocations: 8 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005951/0.4184, allocations: 272.8 kB / 0.5686 GB, free: 13.03 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004986/0.4189, allocations: 0.7041 MB / 0.5692 GB, free: 12.3 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 4.517e-05/0.419, allocations: 4.656 kB / 0.5692 GB, free: 12.3 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.419, allocations: 11.44 kB / 0.5693 GB, free: 12.29 MB / 414.1 MB
Notification: Performance of SimCode: time 3e-07/0.419, allocations: 7.938 kB / 0.5693 GB, free: 12.28 MB / 414.1 MB
Notification: Performance of Templates: time 0.004467/0.4235, allocations: 0.7829 MB / 0.57 GB, free: 11.5 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_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_trunk_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.48348374478519]