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.00112/0.00112, allocations: 108.9 kB / 16.41 MB, free: 6.465 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.001407/0.001407, allocations: 185.5 kB / 17.34 MB, free: 5.719 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.664/1.664, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2472/0.2472, allocations: 43.52 MB / 314.1 MB, free: 448 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.001556/0.001556, allocations: 73.45 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1484, allocations: 57.78 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.04017/0.1886, allocations: 30.09 MB / 0.5173 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3522/0.5409, allocations: 17.58 MB / 0.5344 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003931/0.5413, allocations: 9.469 kB / 0.5344 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007147/0.5421, allocations: 217.5 kB / 0.5347 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006434/0.5427, allocations: 273.5 kB / 0.5349 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01893/0.5617, allocations: 6.022 MB / 0.5408 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001967/0.5637, allocations: 0.8315 MB / 0.5416 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005161/0.5642, allocations: 238.9 kB / 0.5418 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01484/0.579, allocations: 5.445 MB / 0.5472 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007025/0.5798, allocations: 239.9 kB / 0.5474 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.11e-05/0.5799, allocations: 30.88 kB / 0.5474 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01529/0.5952, allocations: 6.319 MB / 0.5536 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.5954, allocations: 95.23 kB / 0.5537 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004324/0.5959, allocations: 193.5 kB / 0.5539 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01429/0.6102, allocations: 3.839 MB / 0.5576 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.6103, allocations: 0 / 0.5576 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.353e-06/0.6103, allocations: 1.75 kB / 0.5576 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.6103, allocations: 3.938 kB / 0.5576 GB, free: 0.5312 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.004915/0.6152, allocations: 1.058 MB / 0.5586 GB, free: 15.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.6153, allocations: 17.03 kB / 0.5587 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/0.6172, allocations: 198.3 kB / 0.5589 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008258/0.618, allocations: 351.5 kB / 0.5592 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.651e-05/0.6181, allocations: 24.91 kB / 0.5592 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.6181, allocations: 23.19 kB / 0.5592 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.6196, allocations: 492.5 kB / 0.5597 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.6196, allocations: 5.203 kB / 0.5597 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/0.6197, allocations: 11.88 kB / 0.5597 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.6197, allocations: 6.656 kB / 0.5597 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.621, allocations: 416.2 kB / 0.5601 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003604/0.6246, allocations: 2.421 MB / 0.5625 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.6258, allocations: 342.5 kB / 0.5628 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.6261, allocations: 104.5 kB / 0.5629 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0349/0.661, allocations: 16.52 MB / 0.579 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/0.6611, allocations: 35.22 kB / 0.5791 GB, free: 15.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.394e-06/0.6611, allocations: 0 / 0.5791 GB, free: 15.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.002283/0.6634, allocations: 0.5249 MB / 0.5796 GB, free: 15.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.762e-05/0.6635, allocations: 110.8 kB / 0.5797 GB, free: 15.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005174/0.664, allocations: 320.5 kB / 0.58 GB, free: 14.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.6641, allocations: 29.7 kB / 0.58 GB, free: 14.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.6642, allocations: 214.8 kB / 0.5802 GB, free: 14.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/0.6643, allocations: 51.53 kB / 0.5803 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.6645, allocations: 65.64 kB / 0.5803 GB, free: 14.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.6646, allocations: 346.7 kB / 0.5807 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.665, allocations: 87.92 kB / 0.5808 GB, free: 14.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/0.6653, allocations: 215.6 kB / 0.581 GB, free: 13.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006318/0.666, allocations: 299 kB / 0.5813 GB, free: 13.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.666, allocations: 0 / 0.5813 GB, free: 13.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009133/0.6669, allocations: 342.2 kB / 0.5816 GB, free: 13.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.667, allocations: 4 kB / 0.5816 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.667, allocations: 4 kB / 0.5816 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.667, allocations: 7.938 kB / 0.5816 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.6673, allocations: 75.61 kB / 0.5817 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.6673, allocations: 11.08 kB / 0.5817 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/0.6677, allocations: 43.77 kB / 0.5817 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.6677, allocations: 16 kB / 0.5817 GB, free: 13.12 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.0002194/0.6679, allocations: 156.9 kB / 0.5819 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.668, allocations: 35.77 kB / 0.5819 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.6697, allocations: 1.109 MB / 0.583 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-05/0.6698, allocations: 15.92 kB / 0.583 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6698, allocations: 0 / 0.583 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.6698, allocations: 4 kB / 0.583 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008374/0.6706, allocations: 0.6615 MB / 0.5837 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.6707, allocations: 0 / 0.5837 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.6709, allocations: 58.88 kB / 0.5837 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.6709, allocations: 3.938 kB / 0.5837 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.6709, allocations: 4 kB / 0.5837 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.6709, allocations: 3.938 kB / 0.5837 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6709, allocations: 0 / 0.5837 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009288/0.6719, allocations: 0.6235 MB / 0.5843 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.672, allocations: 136.6 kB / 0.5845 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.992e-05/0.6721, allocations: 23.77 kB / 0.5845 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.6724, allocations: 31.86 kB / 0.5845 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/0.6725, allocations: 22.59 kB / 0.5845 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.6725, allocations: 4 kB / 0.5846 GB, free: 10.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004014/0.6729, allocations: 338.9 kB / 0.5849 GB, free: 9.828 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6729, allocations: 0 / 0.5849 GB, free: 9.828 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003567/0.6765, allocations: 0.8578 MB / 0.5857 GB, free: 8.969 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.006279/0.6828, allocations: 1.01 MB / 0.5867 GB, free: 8.043 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009332/0.6837, allocations: 348.3 kB / 0.587 GB, free: 7.715 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.6838, allocations: 0 / 0.587 GB, free: 7.715 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004279/0.6842, allocations: 259.7 kB / 0.5873 GB, free: 7.461 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.6853, allocations: 185 kB / 0.5875 GB, free: 7.289 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.6869, allocations: 1.044 MB / 0.5885 GB, free: 6.227 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.6874, allocations: 0.8837 MB / 0.5893 GB, free: 5.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004019/0.6878, allocations: 182.2 kB / 0.5895 GB, free: 5.148 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.61e-05/0.6879, allocations: 39.42 kB / 0.5895 GB, free: 5.109 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.6879, allocations: 0 / 0.5895 GB, free: 5.109 MB / 446.1 MB Notification: Performance of Templates: time 0.05293/0.7409, allocations: 34.57 MB / 0.6233 GB, free: 2.582 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