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.001532/0.001532, allocations: 105.9 kB / 18.3 MB, free: 4.887 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.00191/0.00191, allocations: 195.5 kB / 19.23 MB, free: 3.961 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.408/1.408, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.226/0.226, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 68.8 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1272, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03259/0.1598, allocations: 30.06 MB / 500 MB, free: 204 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2934/0.4533, allocations: 17.61 MB / 0.5055 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004334/0.4537, allocations: 9.875 kB / 0.5055 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007452/0.4545, allocations: 213.8 kB / 0.5057 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000682/0.4552, allocations: 271.6 kB / 0.5059 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01874/0.474, allocations: 6.025 MB / 0.5118 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.4756, allocations: 0.8391 MB / 0.5126 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000474/0.4761, allocations: 238.4 kB / 0.5129 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01426/0.4903, allocations: 5.452 MB / 0.5182 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006729/0.4911, allocations: 243.2 kB / 0.5184 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.977e-05/0.4911, allocations: 28.91 kB / 0.5185 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01571/0.5069, allocations: 6.176 MB / 0.5245 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.5071, allocations: 90.58 kB / 0.5246 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004804/0.5076, allocations: 193.5 kB / 0.5248 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.5184, allocations: 3.84 MB / 0.5285 GB, free: 7.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.5184, allocations: 1.438 kB / 0.5285 GB, free: 7.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5184, allocations: 0 / 0.5285 GB, free: 7.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.5184, allocations: 3.375 kB / 0.5285 GB, free: 7.113 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.002753/0.5212, allocations: 1.043 MB / 0.5295 GB, free: 6.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.5212, allocations: 10.16 kB / 0.5295 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001607/0.5228, allocations: 194.1 kB / 0.5297 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.5232, allocations: 335.6 kB / 0.53 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.892e-05/0.5233, allocations: 25.09 kB / 0.5301 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.5233, allocations: 29.59 kB / 0.5301 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.5245, allocations: 485.7 kB / 0.5306 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.5245, allocations: 6.094 kB / 0.5306 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.5245, allocations: 14.53 kB / 0.5306 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.5246, allocations: 10.12 kB / 0.5306 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.5257, allocations: 404.4 kB / 0.531 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002694/0.5284, allocations: 2.433 MB / 0.5334 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.5295, allocations: 322.8 kB / 0.5337 GB, free: 3.574 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.5298, allocations: 112.1 kB / 0.5338 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0331/0.5629, allocations: 16.46 MB / 0.5498 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.563, allocations: 41.75 kB / 0.5499 GB, free: 4.066 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 2.204e-06/0.563, allocations: 0 / 0.5499 GB, free: 4.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.002074/0.5651, allocations: 0.5215 MB / 0.5504 GB, free: 3.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.5652, allocations: 106.8 kB / 0.5505 GB, free: 3.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/0.5656, allocations: 316.5 kB / 0.5508 GB, free: 3.094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.5656, allocations: 33.7 kB / 0.5508 GB, free: 3.055 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.5658, allocations: 207.6 kB / 0.551 GB, free: 2.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.5658, allocations: 54.81 kB / 0.5511 GB, free: 2.797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-05/0.5659, allocations: 70.33 kB / 0.5511 GB, free: 2.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.566, allocations: 338.8 kB / 0.5515 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.5663, allocations: 91.92 kB / 0.5516 GB, free: 2.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.5667, allocations: 211.4 kB / 0.5518 GB, free: 2.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006014/0.5673, allocations: 307 kB / 0.5521 GB, free: 1.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5673, allocations: 0 / 0.5521 GB, free: 1.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007528/0.5681, allocations: 333.9 kB / 0.5524 GB, free: 1.395 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.5681, allocations: 8 kB / 0.5524 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.5681, allocations: 4 kB / 0.5524 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.5682, allocations: 8.406 kB / 0.5524 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.5684, allocations: 75.7 kB / 0.5525 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.5685, allocations: 7 kB / 0.5525 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.5687, allocations: 43.67 kB / 0.5525 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.5688, allocations: 15.98 kB / 0.5525 GB, free: 1.242 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.0001729/0.569, allocations: 156.1 kB / 0.5527 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.032e-05/0.569, allocations: 31.62 kB / 0.5527 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.5705, allocations: 1.109 MB / 0.5538 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.5705, allocations: 19.91 kB / 0.5538 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.5706, allocations: 4 kB / 0.5538 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5706, allocations: 0 / 0.5538 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006541/0.5712, allocations: 0.6626 MB / 0.5545 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.5712, allocations: 4 kB / 0.5545 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.5715, allocations: 47.14 kB / 0.5545 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.5715, allocations: 0 / 0.5545 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.5715, allocations: 8 kB / 0.5545 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.5715, allocations: 7.922 kB / 0.5545 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5715, allocations: 0 / 0.5545 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008415/0.5724, allocations: 0.6224 MB / 0.5551 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.707e-05/0.5725, allocations: 132.3 kB / 0.5553 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.512e-05/0.5725, allocations: 23.69 kB / 0.5553 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.5728, allocations: 15.92 kB / 0.5553 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/0.5728, allocations: 27.97 kB / 0.5553 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.5729, allocations: 11.98 kB / 0.5553 GB, free: 14.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000349/0.5732, allocations: 338.9 kB / 0.5557 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5732, allocations: 0 / 0.5557 GB, free: 13.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002919/0.5761, allocations: 0.8471 MB / 0.5565 GB, free: 13.11 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.003753/0.5799, allocations: 0.9956 MB / 0.5575 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008932/0.5808, allocations: 367.7 kB / 0.5578 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5808, allocations: 4 kB / 0.5578 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.5812, allocations: 247.3 kB / 0.558 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.5822, allocations: 201 kB / 0.5582 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.5837, allocations: 1.069 MB / 0.5593 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.5842, allocations: 0.8719 MB / 0.5601 GB, free: 9.441 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.013e-05/0.5843, allocations: 35.44 kB / 0.5602 GB, free: 9.406 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5843, allocations: 0 / 0.5602 GB, free: 9.406 MB / 414.1 MB Notification: Performance of Templates: time 0.03102/0.6153, allocations: 20.45 MB / 0.5801 GB, free: 5.008 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