Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 176.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007481/0.0007483, allocations: 97.94 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3628/0.3628, allocations: 43.55 MB / 362.7 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003686, allocations: 11.98 kB / 431.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1335, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.2711/0.4047, allocations: 27.95 MB / 0.506 GB, free: 30.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01673/0.4214, allocations: 16.36 MB / 0.522 GB, free: 19.13 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006125/0.4221, allocations: 13.97 kB / 0.522 GB, free: 19.12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007086/0.4228, allocations: 162 kB / 0.5222 GB, free: 19.04 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0007106/0.4235, allocations: 266.4 kB / 0.5224 GB, free: 18.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01643/0.44, allocations: 4.637 MB / 0.527 GB, free: 16.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001432/0.4414, allocations: 0.9531 MB / 0.5279 GB, free: 16.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003487/0.4418, allocations: 183.5 kB / 0.5281 GB, free: 16.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01192/0.4537, allocations: 8.938 MB / 0.5368 GB, free: 15.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005444/0.4543, allocations: 228.1 kB / 0.537 GB, free: 15.06 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.629e-05/0.4544, allocations: 11.59 kB / 0.537 GB, free: 15.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01418/0.4686, allocations: 6.006 MB / 0.5429 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002577/0.4689, allocations: 64.8 kB / 0.543 GB, free: 13.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.4692, allocations: 97.05 kB / 0.5431 GB, free: 13.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008108/0.4773, allocations: 2.576 MB / 0.5456 GB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4774, allocations: 1.094 kB / 0.5456 GB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.4774, allocations: 4 kB / 0.5456 GB, free: 13.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.614e-05/0.4774, allocations: 0 / 0.5456 GB, free: 13.14 MB / 378.7 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.005611/0.483, allocations: 0.973 MB / 0.5465 GB, free: 12.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.4831, allocations: 15.06 kB / 0.5465 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.4849, allocations: 200.7 kB / 0.5467 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005613/0.4855, allocations: 324.3 kB / 0.547 GB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.4855, allocations: 24.06 kB / 0.5471 GB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.905e-05/0.4856, allocations: 25.06 kB / 0.5471 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.4871, allocations: 0.4919 MB / 0.5476 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.4871, allocations: 1.031 kB / 0.5476 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.464e-05/0.4872, allocations: 12.16 kB / 0.5476 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.4872, allocations: 10.28 kB / 0.5476 GB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.4885, allocations: 441.4 kB / 0.548 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003235/0.4918, allocations: 2.442 MB / 0.5504 GB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.4929, allocations: 357 kB / 0.5507 GB, free: 9.457 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/0.4933, allocations: 125.1 kB / 0.5509 GB, free: 9.395 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03162/0.5249, allocations: 16.63 MB / 0.5671 GB, free: 9.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.525, allocations: 38.52 kB / 0.5671 GB, free: 9.633 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 2.895e-06/0.525, allocations: 0 / 0.5671 GB, free: 9.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.002192/0.5272, allocations: 0.5713 MB / 0.5677 GB, free: 9.055 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.356e-05/0.5273, allocations: 102.8 kB / 0.5678 GB, free: 8.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.5277, allocations: 316.5 kB / 0.5681 GB, free: 8.617 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.5278, allocations: 29.7 kB / 0.5681 GB, free: 8.582 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.528, allocations: 203.6 kB / 0.5683 GB, free: 8.379 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.528, allocations: 51.3 kB / 0.5684 GB, free: 8.328 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.23e-05/0.5281, allocations: 4 kB / 0.5684 GB, free: 8.324 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5282, allocations: 342.8 kB / 0.5687 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.5285, allocations: 107.9 kB / 0.5688 GB, free: 7.875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.5289, allocations: 218.3 kB / 0.569 GB, free: 7.609 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.5293, allocations: 127.9 kB / 0.5691 GB, free: 7.484 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.5293, allocations: 0 / 0.5691 GB, free: 7.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008378/0.5301, allocations: 359.2 kB / 0.5695 GB, free: 7.129 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.5301, allocations: 4 kB / 0.5695 GB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.5302, allocations: 7.953 kB / 0.5695 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.5302, allocations: 8 kB / 0.5695 GB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.5305, allocations: 75.83 kB / 0.5696 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.5305, allocations: 8 kB / 0.5696 GB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003949/0.5309, allocations: 63.67 kB / 0.5696 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.531, allocations: 19.98 kB / 0.5696 GB, free: 6.945 MB / 394.7 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_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 initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002044/0.5312, allocations: 149.8 kB / 0.5698 GB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.899e-05/0.5313, allocations: 35.61 kB / 0.5698 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.5328, allocations: 1.151 MB / 0.5709 GB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/0.5329, allocations: 15.97 kB / 0.571 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5329, allocations: 3.938 kB / 0.571 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.5329, allocations: 0 / 0.571 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009211/0.5338, allocations: 0.6677 MB / 0.5716 GB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.5338, allocations: 0 / 0.5716 GB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.5341, allocations: 59.95 kB / 0.5717 GB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.83e-06/0.5341, allocations: 3.953 kB / 0.5717 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.5341, allocations: 7.984 kB / 0.5717 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.5341, allocations: 0 / 0.5717 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5341, allocations: 0 / 0.5717 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.5352, allocations: 0.6388 MB / 0.5723 GB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/0.5355, allocations: 203.9 kB / 0.5725 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.193e-05/0.5355, allocations: 4 kB / 0.5725 GB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/0.5358, allocations: 23.98 kB / 0.5725 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.255e-05/0.5359, allocations: 27.95 kB / 0.5726 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.536, allocations: 8 kB / 0.5726 GB, free: 3.848 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004441/0.5364, allocations: 334.9 kB / 0.5729 GB, free: 3.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5364, allocations: 0 / 0.5729 GB, free: 3.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006043/0.5425, allocations: 0.8433 MB / 0.5737 GB, free: 2.676 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008356/0.5508, allocations: 1.006 MB / 0.5747 GB, free: 1.664 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000846/0.5517, allocations: 369.1 kB / 0.575 GB, free: 1.305 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5517, allocations: 0 / 0.575 GB, free: 1.305 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004195/0.5521, allocations: 273.7 kB / 0.5753 GB, free: 1.039 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.5532, allocations: 182.5 kB / 0.5755 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.5552, allocations: 1.291 MB / 0.5767 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/0.5557, allocations: 0.8839 MB / 0.5776 GB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.995e-05/0.5558, allocations: 31.44 kB / 0.5776 GB, free: 14.6 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5558, allocations: 0 / 0.5776 GB, free: 14.6 MB / 410.7 MB Notification: Performance of Templates: time 0.03739/0.5932, allocations: 20.36 MB / 0.5975 GB, free: 10.24 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches