Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.001483/0.001483, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001854/0.001854, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.574/1.574, allocations: 230.3 MB / 258 MB, free: 8.207 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.3252/0.3252, allocations: 46.93 MB / 361.4 MB, free: 4.398 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.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy")
translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [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.003784/0.003784, allocations: 79.86 kB / 0.4972 GB, free: 7.516 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3551, allocations: 66.05 MB / 0.5617 GB, free: 4.527 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03807/0.3931, allocations: 30.64 MB / 0.5916 GB, free: 5.773 MB / 430.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0235/0.4166, allocations: 17.79 MB / 0.609 GB, free: 3.93 MB / 446.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005602/0.4172, allocations: 15.88 kB / 0.609 GB, free: 3.914 MB / 446.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0008582/0.418, allocations: 210.6 kB / 0.6092 GB, free: 3.707 MB / 446.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0007745/0.4188, allocations: 290.3 kB / 0.6094 GB, free: 3.422 MB / 446.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.01912/0.4379, allocations: 6.075 MB / 0.6154 GB, free: 13.35 MB / 462.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001611/0.4396, allocations: 0.8498 MB / 0.6162 GB, free: 12.5 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003896/0.4399, allocations: 205 kB / 0.6164 GB, free: 12.29 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.01379/0.4537, allocations: 5.497 MB / 0.6218 GB, free: 6.715 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006002/0.4543, allocations: 251 kB / 0.622 GB, free: 6.469 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.275e-05/0.4544, allocations: 32 kB / 0.622 GB, free: 6.438 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.01358/0.468, allocations: 6.353 MB / 0.6282 GB, free: 80 kB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.4682, allocations: 91.8 kB / 0.6283 GB, free: 15.98 MB / 478.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003596/0.4686, allocations: 199 kB / 0.6285 GB, free: 15.79 MB / 478.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01131/0.4799, allocations: 3.862 MB / 0.6323 GB, free: 11.92 MB / 478.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4799, allocations: 0 / 0.6323 GB, free: 11.92 MB / 478.1 MB
Notification: Performance of FrontEnd: time 1.984e-06/0.4799, allocations: 0 / 0.6323 GB, free: 11.92 MB / 478.1 MB
Notification: Performance of Transformations before backend: time 9.718e-06/0.4799, allocations: 0 / 0.6323 GB, free: 11.92 MB / 478.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 64
 * Number of variables: 64
Notification: Performance of Generate backend data structure: time 0.002958/0.4829, allocations: 1.005 MB / 0.6333 GB, free: 10.88 MB / 478.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.4829, allocations: 12.03 kB / 0.6333 GB, free: 10.87 MB / 478.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/0.4846, allocations: 204.5 kB / 0.6335 GB, free: 10.67 MB / 478.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005573/0.4852, allocations: 284.9 kB / 0.6338 GB, free: 10.37 MB / 478.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/0.4852, allocations: 25.03 kB / 0.6338 GB, free: 10.34 MB / 478.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.4853, allocations: 32.3 kB / 0.6338 GB, free: 10.31 MB / 478.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.4866, allocations: 496 kB / 0.6343 GB, free: 9.785 MB / 478.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.4866, allocations: 0 / 0.6343 GB, free: 9.785 MB / 478.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.4867, allocations: 12 kB / 0.6343 GB, free: 9.773 MB / 478.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.4867, allocations: 8 kB / 0.6343 GB, free: 9.766 MB / 478.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.488, allocations: 409.3 kB / 0.6347 GB, free: 9.367 MB / 478.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003999/0.492, allocations: 2.237 MB / 0.6369 GB, free: 6.961 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.4933, allocations: 318.2 kB / 0.6372 GB, free: 6.641 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/0.4936, allocations: 111.2 kB / 0.6373 GB, free: 6.531 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.03353/0.5271, allocations: 8.835 MB / 0.6459 GB, free: 13.69 MB / 494.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.228e-05/0.5272, allocations: 42.56 kB / 0.646 GB, free: 13.64 MB / 494.1 MB
Notification: Performance of pre-optimization done (n=15): time 3.186e-06/0.5272, allocations: 0 / 0.646 GB, free: 13.64 MB / 494.1 MB
Notification: Performance of matching and sorting (n=15): time 0.002273/0.5295, allocations: 0.5204 MB / 0.6465 GB, free: 13.11 MB / 494.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.5296, allocations: 102.8 kB / 0.6466 GB, free: 12.98 MB / 494.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004746/0.5301, allocations: 324.4 kB / 0.6469 GB, free: 12.65 MB / 494.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.5301, allocations: 33.7 kB / 0.6469 GB, free: 12.61 MB / 494.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.5303, allocations: 216 kB / 0.6471 GB, free: 12.4 MB / 494.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.797e-05/0.5304, allocations: 47.59 kB / 0.6472 GB, free: 12.35 MB / 494.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.5305, allocations: 61.66 kB / 0.6472 GB, free: 12.29 MB / 494.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001919/0.5307, allocations: 346.8 kB / 0.6475 GB, free: 11.94 MB / 494.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.531, allocations: 95.86 kB / 0.6476 GB, free: 11.84 MB / 494.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/0.5314, allocations: 207.4 kB / 0.6478 GB, free: 11.59 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006631/0.532, allocations: 300.2 kB / 0.6481 GB, free: 11.25 MB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.532, allocations: 3.938 kB / 0.6481 GB, free: 11.24 MB / 494.1 MB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008144/0.5328, allocations: 337.1 kB / 0.6484 GB, free: 10.91 MB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.5329, allocations: 4 kB / 0.6485 GB, free: 10.9 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.5329, allocations: 4 kB / 0.6485 GB, free: 10.9 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.5329, allocations: 7.938 kB / 0.6485 GB, free: 10.89 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.5332, allocations: 71.89 kB / 0.6485 GB, free: 10.82 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.5332, allocations: 4.438 kB / 0.6485 GB, free: 10.82 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.5335, allocations: 51.77 kB / 0.6486 GB, free: 10.77 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.5335, allocations: 19.92 kB / 0.6486 GB, free: 10.75 MB / 494.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 16
 * Number of states: 0 ()
 * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (30):
 * Single equations (assignments): 30
 * 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.0001818/0.5337, allocations: 153.7 kB / 0.6488 GB, free: 10.59 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.932e-05/0.5337, allocations: 35.77 kB / 0.6488 GB, free: 10.55 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.5354, allocations: 1.149 MB / 0.6499 GB, free: 9.395 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.5354, allocations: 15.97 kB / 0.6499 GB, free: 9.379 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.5354, allocations: 4 kB / 0.6499 GB, free: 9.375 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.5354, allocations: 3.938 kB / 0.6499 GB, free: 9.371 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007681/0.5362, allocations: 0.6475 MB / 0.6506 GB, free: 8.68 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.5362, allocations: 0 / 0.6506 GB, free: 8.68 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.5364, allocations: 63.83 kB / 0.6506 GB, free: 8.617 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.5364, allocations: 0 / 0.6506 GB, free: 8.617 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.5364, allocations: 3.938 kB / 0.6506 GB, free: 8.613 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.5364, allocations: 0 / 0.6506 GB, free: 8.613 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5364, allocations: 4 kB / 0.6506 GB, free: 8.609 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009678/0.5374, allocations: 0.6352 MB / 0.6512 GB, free: 7.957 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.383e-05/0.5375, allocations: 67.47 kB / 0.6513 GB, free: 7.891 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.474e-05/0.5376, allocations: 19.78 kB / 0.6513 GB, free: 7.871 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.5378, allocations: 15.98 kB / 0.6513 GB, free: 7.855 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.5379, allocations: 23.95 kB / 0.6514 GB, free: 7.832 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.5379, allocations: 8 kB / 0.6514 GB, free: 7.824 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.0004153/0.5383, allocations: 346.9 kB / 0.6517 GB, free: 7.484 MB / 494.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.5383, allocations: 0 / 0.6517 GB, free: 7.484 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.002931/0.5412, allocations: 0.8577 MB / 0.6525 GB, free: 6.625 MB / 494.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: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (19):
 * Single equations (assignments): 15
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 4
 * 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.003891/0.5451, allocations: 1.005 MB / 0.6535 GB, free: 5.609 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.0009768/0.5461, allocations: 345.2 kB / 0.6539 GB, free: 5.273 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.5461, allocations: 8 kB / 0.6539 GB, free: 5.266 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003956/0.5465, allocations: 216.4 kB / 0.6541 GB, free: 5.051 MB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.5476, allocations: 188.7 kB / 0.6543 GB, free: 4.879 MB / 494.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.5493, allocations: 1.048 MB / 0.6553 GB, free: 3.805 MB / 494.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.5498, allocations: 0.8759 MB / 0.6561 GB, free: 2.902 MB / 494.1 MB
Notification: Performance of simCode: alias equations: time 0.0003954/0.5502, allocations: 187 kB / 0.6563 GB, free: 2.719 MB / 494.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.758e-05/0.5503, allocations: 31.44 kB / 0.6563 GB, free: 2.688 MB / 494.1 MB
Notification: Performance of SimCode: time 8.62e-07/0.5503, allocations: 0 / 0.6563 GB, free: 2.688 MB / 494.1 MB
Notification: Performance of Templates: time 0.05618/0.6065, allocations: 35.06 MB / 0.6906 GB, free: 15.66 MB / 0.5294 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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: 8.025875389575958]