Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001468/0.001468, allocations: 111.2 kB / 16.41 MB, free: 6.492 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.001526/0.001526, allocations: 189.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.1 MB / 223.2 MB, free: 12.1 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1904/0.1904, allocations: 43.53 MB / 314.1 MB, free: 436 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.91 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1045, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02831/0.1329, allocations: 30.08 MB / 0.5173 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2372/0.3702, allocations: 17.59 MB / 0.5344 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003495/0.3706, allocations: 16.06 kB / 0.5345 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007011/0.3713, allocations: 219.1 kB / 0.5347 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005654/0.3719, allocations: 271.9 kB / 0.5349 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01794/0.3898, allocations: 6.035 MB / 0.5408 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00139/0.3912, allocations: 0.832 MB / 0.5416 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003924/0.3917, allocations: 244.1 kB / 0.5419 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01257/0.4042, allocations: 5.448 MB / 0.5472 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005961/0.4049, allocations: 249.8 kB / 0.5474 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.59e-05/0.4049, allocations: 33.53 kB / 0.5474 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01344/0.4184, allocations: 6.313 MB / 0.5536 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.4186, allocations: 86.77 kB / 0.5537 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004553/0.4191, allocations: 195 kB / 0.5539 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00948/0.4286, allocations: 3.836 MB / 0.5576 GB, free: 0.543 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.4286, allocations: 4.531 kB / 0.5576 GB, free: 0.543 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4286, allocations: 0 / 0.5576 GB, free: 0.543 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.4287, allocations: 2.625 kB / 0.5576 GB, free: 0.543 MB / 414.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.002633/0.4313, allocations: 1.036 MB / 0.5586 GB, free: 15.81 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.4313, allocations: 8.5 kB / 0.5587 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/0.4329, allocations: 199.4 kB / 0.5588 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004871/0.4334, allocations: 349.7 kB / 0.5592 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.4334, allocations: 26.88 kB / 0.5592 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.4335, allocations: 25.34 kB / 0.5592 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.4346, allocations: 490.7 kB / 0.5597 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.4346, allocations: 3.188 kB / 0.5597 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.4347, allocations: 10.78 kB / 0.5597 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.4347, allocations: 9.719 kB / 0.5597 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.4358, allocations: 415.2 kB / 0.5601 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002647/0.4384, allocations: 2.414 MB / 0.5625 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.4395, allocations: 336.4 kB / 0.5628 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.4397, allocations: 106.2 kB / 0.5629 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02887/0.4686, allocations: 16.52 MB / 0.579 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.4687, allocations: 38.56 kB / 0.5791 GB, free: 15.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/0.4687, allocations: 2.656 kB / 0.5791 GB, free: 15.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.001895/0.4706, allocations: 0.5254 MB / 0.5796 GB, free: 15.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.4707, allocations: 102.8 kB / 0.5797 GB, free: 15.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.471, allocations: 320.5 kB / 0.58 GB, free: 15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.471, allocations: 29.7 kB / 0.58 GB, free: 14.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.4712, allocations: 203.6 kB / 0.5802 GB, free: 14.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.4712, allocations: 57.34 kB / 0.5803 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.4714, allocations: 65.59 kB / 0.5803 GB, free: 14.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4715, allocations: 342.7 kB / 0.5806 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.4717, allocations: 91.92 kB / 0.5807 GB, free: 14.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003392/0.4721, allocations: 220.4 kB / 0.5809 GB, free: 13.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005475/0.4726, allocations: 295.2 kB / 0.5812 GB, free: 13.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.4727, allocations: 4 kB / 0.5812 GB, free: 13.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006606/0.4733, allocations: 339.1 kB / 0.5816 GB, free: 13.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.4733, allocations: 10.5 kB / 0.5816 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4734, allocations: 4 kB / 0.5816 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.4734, allocations: 7.938 kB / 0.5816 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.4736, allocations: 72.73 kB / 0.5816 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.4737, allocations: 14.61 kB / 0.5817 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.4739, allocations: 39.67 kB / 0.5817 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.4739, allocations: 16 kB / 0.5817 GB, free: 13.15 MB / 446.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.0001514/0.4741, allocations: 160.4 kB / 0.5819 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.145e-05/0.4742, allocations: 31.84 kB / 0.5819 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.4754, allocations: 1.101 MB / 0.583 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.4755, allocations: 15.92 kB / 0.583 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.4755, allocations: 0 / 0.583 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.4755, allocations: 0 / 0.583 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006048/0.4761, allocations: 0.6596 MB / 0.5836 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4761, allocations: 8 kB / 0.5836 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.4763, allocations: 50.47 kB / 0.5837 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4763, allocations: 0 / 0.5837 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.4763, allocations: 4 kB / 0.5837 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.4764, allocations: 7.938 kB / 0.5837 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4764, allocations: 0 / 0.5837 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008092/0.4772, allocations: 0.6218 MB / 0.5843 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.606e-05/0.4773, allocations: 128.3 kB / 0.5844 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.613e-05/0.4774, allocations: 31.69 kB / 0.5845 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.4776, allocations: 27.84 kB / 0.5845 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.4776, allocations: 23.97 kB / 0.5845 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.4777, allocations: 8 kB / 0.5845 GB, free: 10.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003404/0.478, allocations: 338.9 kB / 0.5848 GB, free: 9.871 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.478, allocations: 0 / 0.5848 GB, free: 9.871 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003113/0.4811, allocations: 0.8471 MB / 0.5857 GB, free: 9.023 MB / 446.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.003557/0.4847, allocations: 0.9987 MB / 0.5866 GB, free: 8.109 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007389/0.4855, allocations: 357.1 kB / 0.587 GB, free: 7.773 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4855, allocations: 0 / 0.587 GB, free: 7.773 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.4858, allocations: 255.7 kB / 0.5872 GB, free: 7.523 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008532/0.4867, allocations: 193.3 kB / 0.5874 GB, free: 7.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.4881, allocations: 1.013 MB / 0.5884 GB, free: 6.312 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.4885, allocations: 0.8797 MB / 0.5893 GB, free: 5.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000326/0.4889, allocations: 181.8 kB / 0.5894 GB, free: 5.238 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.075e-05/0.489, allocations: 35.42 kB / 0.5895 GB, free: 5.203 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.489, allocations: 0 / 0.5895 GB, free: 5.203 MB / 446.1 MB Notification: Performance of Templates: time 0.04287/0.5318, allocations: 34.57 MB / 0.6232 GB, free: 2.676 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches