Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009231/0.0009233, allocations: 96.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 179.2 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.3 MB / 243 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2513/0.2513, allocations: 44.24 MB / 338.3 MB, free: 2.406 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 11.98 kB / 411 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1372, allocations: 61.92 MB / 472.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03828/0.1755, allocations: 30.18 MB / 0.4913 GB, free: 15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3256/0.5012, allocations: 18.3 MB / 0.5092 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004974/0.5018, allocations: 11.38 kB / 0.5092 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007838/0.5025, allocations: 189 kB / 0.5094 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007357/0.5033, allocations: 252.9 kB / 0.5096 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01818/0.5215, allocations: 4.881 MB / 0.5144 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001971/0.5235, allocations: 1.121 MB / 0.5155 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004734/0.524, allocations: 191.4 kB / 0.5157 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01223/0.5362, allocations: 5.379 MB / 0.5209 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007411/0.537, allocations: 242.3 kB / 0.5211 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.764e-05/0.5371, allocations: 18.97 kB / 0.5212 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01559/0.5527, allocations: 6.248 MB / 0.5273 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.553, allocations: 74.59 kB / 0.5273 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005057/0.5535, allocations: 199.7 kB / 0.5275 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006144/0.5596, allocations: 2.599 MB / 0.5301 GB, free: 7.941 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5596, allocations: 0 / 0.5301 GB, free: 7.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.5597, allocations: 0 / 0.5301 GB, free: 7.941 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.5597, allocations: 0 / 0.5301 GB, free: 7.941 MB / 382.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.002855/0.5625, allocations: 0.9808 MB / 0.531 GB, free: 7.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.5626, allocations: 14.09 kB / 0.531 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/0.5642, allocations: 194.1 kB / 0.5312 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.5646, allocations: 336.8 kB / 0.5315 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/0.5647, allocations: 25.44 kB / 0.5316 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.5647, allocations: 23.5 kB / 0.5316 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.5659, allocations: 0.5037 MB / 0.5321 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.5659, allocations: 7.828 kB / 0.5321 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.566, allocations: 11.66 kB / 0.5321 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.566, allocations: 7.781 kB / 0.5321 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.5672, allocations: 444.2 kB / 0.5325 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00255/0.5698, allocations: 2.435 MB / 0.5349 GB, free: 4.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.5709, allocations: 363.3 kB / 0.5352 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002793/0.5712, allocations: 123.6 kB / 0.5354 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03152/0.6027, allocations: 16.61 MB / 0.5516 GB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.574e-05/0.6028, allocations: 42.42 kB / 0.5516 GB, free: 5.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 2.284e-06/0.6028, allocations: 0 / 0.5516 GB, free: 5.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.002284/0.6051, allocations: 0.5707 MB / 0.5522 GB, free: 5.152 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.6052, allocations: 103.1 kB / 0.5523 GB, free: 5.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004317/0.6056, allocations: 323.8 kB / 0.5526 GB, free: 4.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.6057, allocations: 31.48 kB / 0.5526 GB, free: 4.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.6059, allocations: 206.2 kB / 0.5528 GB, free: 4.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.832e-05/0.6059, allocations: 57.59 kB / 0.5529 GB, free: 4.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-05/0.606, allocations: 28.16 kB / 0.5529 GB, free: 4.508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.6062, allocations: 340.9 kB / 0.5532 GB, free: 4.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.6065, allocations: 103.6 kB / 0.5533 GB, free: 4.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.6069, allocations: 230 kB / 0.5535 GB, free: 3.852 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006613/0.6076, allocations: 323 kB / 0.5538 GB, free: 3.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6076, allocations: 0 / 0.5538 GB, free: 3.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008406/0.6084, allocations: 356.6 kB / 0.5542 GB, free: 3.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.6085, allocations: 11.98 kB / 0.5542 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.6085, allocations: 4 kB / 0.5542 GB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.6085, allocations: 7.938 kB / 0.5542 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.6088, allocations: 73.05 kB / 0.5543 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.6088, allocations: 6.719 kB / 0.5543 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.6092, allocations: 55.67 kB / 0.5543 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.6092, allocations: 17.98 kB / 0.5544 GB, free: 3.133 MB / 398.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.000199/0.6094, allocations: 151.9 kB / 0.5545 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.949e-05/0.6095, allocations: 31.62 kB / 0.5545 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.6111, allocations: 1.137 MB / 0.5556 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.352e-05/0.6112, allocations: 21.59 kB / 0.5557 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.6112, allocations: 0 / 0.5557 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.6112, allocations: 3.938 kB / 0.5557 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008102/0.612, allocations: 0.6671 MB / 0.5563 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.612, allocations: 0 / 0.5563 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.6123, allocations: 59.95 kB / 0.5564 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.6123, allocations: 0 / 0.5564 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.6123, allocations: 4.969 kB / 0.5564 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.6123, allocations: 3.938 kB / 0.5564 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.6123, allocations: 15.59 kB / 0.5564 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009356/0.6133, allocations: 0.6382 MB / 0.557 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.6135, allocations: 203.8 kB / 0.5572 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.407e-05/0.6136, allocations: 7.5 kB / 0.5572 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.6138, allocations: 27.3 kB / 0.5573 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.6139, allocations: 20.16 kB / 0.5573 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.6139, allocations: 15.98 kB / 0.5573 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003994/0.6143, allocations: 338.9 kB / 0.5576 GB, free: 480 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6143, allocations: 0 / 0.5576 GB, free: 480 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.003225/0.6176, allocations: 0.8394 MB / 0.5584 GB, free: 15.63 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: 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.005518/0.6231, allocations: 1.01 MB / 0.5594 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009577/0.6241, allocations: 371.5 kB / 0.5598 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6241, allocations: 0 / 0.5598 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004461/0.6246, allocations: 264.5 kB / 0.56 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.6258, allocations: 179.3 kB / 0.5602 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.6277, allocations: 1.301 MB / 0.5615 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/0.6282, allocations: 0.8759 MB / 0.5623 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.6283, allocations: 35.42 kB / 0.5624 GB, free: 11.65 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.6283, allocations: 0 / 0.5624 GB, free: 11.65 MB / 414.1 MB Notification: Performance of Templates: time 0.03637/0.6647, allocations: 20.39 MB / 0.5823 GB, free: 7.328 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches