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.00907/0.00907, allocations: 111.2 kB / 21.98 MB, free: 5.18 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.001496/0.001496, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.513/1.513, allocations: 230.5 MB / 258.9 MB, free: 8.012 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.2422/0.2422, allocations: 46.93 MB / 362.3 MB, free: 4.199 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.002337/0.002337, allocations: 87.84 kB / 0.4982 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3735, allocations: 66.07 MB / 0.5627 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03702/0.4106, allocations: 30.65 MB / 0.5927 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02345/0.434, allocations: 17.78 MB / 0.61 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004865/0.4345, allocations: 15.88 kB / 0.61 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008029/0.4353, allocations: 218.6 kB / 0.6103 GB, free: 3.402 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007222/0.436, allocations: 278.3 kB / 0.6105 GB, free: 3.129 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0187/0.4547, allocations: 6.084 MB / 0.6165 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.4562, allocations: 0.8498 MB / 0.6173 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004009/0.4566, allocations: 201 kB / 0.6175 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01229/0.4688, allocations: 5.493 MB / 0.6228 GB, free: 6.418 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007052/0.4696, allocations: 258.9 kB / 0.6231 GB, free: 6.164 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.954e-05/0.4696, allocations: 28 kB / 0.6231 GB, free: 6.137 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01484/0.4845, allocations: 6.357 MB / 0.6293 GB, free: 15.77 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.4848, allocations: 99.61 kB / 0.6294 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004036/0.4852, allocations: 199.1 kB / 0.6296 GB, free: 15.48 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.4966, allocations: 3.858 MB / 0.6334 GB, free: 11.61 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4967, allocations: 4 kB / 0.6334 GB, free: 11.61 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4967, allocations: 0 / 0.6334 GB, free: 11.61 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.4967, allocations: 0 / 0.6334 GB, free: 11.61 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.002912/0.4996, allocations: 1.005 MB / 0.6344 GB, free: 10.57 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.4996, allocations: 12.02 kB / 0.6344 GB, free: 10.56 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/0.5014, allocations: 204.5 kB / 0.6346 GB, free: 10.36 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005715/0.502, allocations: 284.8 kB / 0.6348 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.502, allocations: 29.03 kB / 0.6349 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-05/0.5021, allocations: 24.38 kB / 0.6349 GB, free: 10 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.5034, allocations: 488 kB / 0.6354 GB, free: 9.484 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.5034, allocations: 4 kB / 0.6354 GB, free: 9.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.5034, allocations: 12 kB / 0.6354 GB, free: 9.469 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.5034, allocations: 4 kB / 0.6354 GB, free: 9.465 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.5046, allocations: 417.2 kB / 0.6358 GB, free: 9.059 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003347/0.508, allocations: 2.241 MB / 0.638 GB, free: 6.648 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.5092, allocations: 318.2 kB / 0.6383 GB, free: 6.328 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.5095, allocations: 104.8 kB / 0.6384 GB, free: 6.223 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03025/0.5397, allocations: 8.827 MB / 0.647 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.5398, allocations: 34.56 kB / 0.647 GB, free: 13.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.735e-06/0.5398, allocations: 0 / 0.647 GB, free: 13.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002146/0.5419, allocations: 0.5236 MB / 0.6475 GB, free: 12.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.809e-05/0.542, allocations: 114.7 kB / 0.6476 GB, free: 12.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004462/0.5425, allocations: 324.4 kB / 0.648 GB, free: 12.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.5425, allocations: 29.7 kB / 0.648 GB, free: 12.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.5427, allocations: 220.1 kB / 0.6482 GB, free: 12.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.922e-05/0.5428, allocations: 43.59 kB / 0.6482 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.5429, allocations: 69.64 kB / 0.6483 GB, free: 11.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.5431, allocations: 338.8 kB / 0.6486 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.5434, allocations: 91.92 kB / 0.6487 GB, free: 11.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/0.5437, allocations: 217.7 kB / 0.6489 GB, free: 11.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006529/0.5444, allocations: 301.3 kB / 0.6492 GB, free: 10.94 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.5444, allocations: 0 / 0.6492 GB, free: 10.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000809/0.5452, allocations: 340 kB / 0.6495 GB, free: 10.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.5452, allocations: 8 kB / 0.6495 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.5452, allocations: 4 kB / 0.6495 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.5453, allocations: 8.406 kB / 0.6495 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.5455, allocations: 71.89 kB / 0.6496 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.5456, allocations: 11.94 kB / 0.6496 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.5458, allocations: 43.75 kB / 0.6497 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.5459, allocations: 16 kB / 0.6497 GB, free: 10.44 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.0001879/0.546, allocations: 157.7 kB / 0.6498 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/0.5461, allocations: 31.77 kB / 0.6499 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/0.5478, allocations: 1.153 MB / 0.651 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.193e-05/0.5478, allocations: 19.97 kB / 0.651 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5478, allocations: 0 / 0.651 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5478, allocations: 4 kB / 0.651 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00081/0.5486, allocations: 0.6514 MB / 0.6517 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.5486, allocations: 3.938 kB / 0.6517 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.5489, allocations: 51.94 kB / 0.6517 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.5489, allocations: 0 / 0.6517 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.5489, allocations: 7.938 kB / 0.6517 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5489, allocations: 0 / 0.6517 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5489, allocations: 3.938 kB / 0.6517 GB, free: 8.305 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009968/0.5499, allocations: 0.6352 MB / 0.6523 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.529e-05/0.55, allocations: 67.42 kB / 0.6524 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.545e-05/0.55, allocations: 23.78 kB / 0.6524 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.5503, allocations: 23.97 kB / 0.6524 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.5503, allocations: 19.97 kB / 0.6525 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.5504, allocations: 7.984 kB / 0.6525 GB, free: 7.508 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004428/0.5508, allocations: 342.9 kB / 0.6528 GB, free: 7.172 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5508, allocations: 3.938 kB / 0.6528 GB, free: 7.168 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002769/0.5536, allocations: 0.8616 MB / 0.6536 GB, free: 6.305 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.003816/0.5574, allocations: 0.9971 MB / 0.6546 GB, free: 5.297 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009978/0.5584, allocations: 349 kB / 0.655 GB, free: 4.957 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5584, allocations: 0 / 0.655 GB, free: 4.957 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003841/0.5588, allocations: 212.5 kB / 0.6552 GB, free: 4.746 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.5598, allocations: 186.9 kB / 0.6553 GB, free: 4.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.5616, allocations: 1.081 MB / 0.6564 GB, free: 3.457 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005664/0.5622, allocations: 0.8798 MB / 0.6572 GB, free: 2.551 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.5623, allocations: 39.38 kB / 0.6573 GB, free: 2.512 MB / 494.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5623, allocations: 0 / 0.6573 GB, free: 2.512 MB / 494.1 MB Notification: Performance of Templates: time 0.0357/0.598, allocations: 20.59 MB / 0.6774 GB, free: 13.93 MB / 0.5137 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/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: 10.510496012168005]