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.002373/0.002373, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.941/1.941, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00108/0.00108, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2727/0.2727, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.307e-05/3.316e-05, allocations: 0 / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1129, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.905/8.018, allocations: 2.754 GB / 3.227 GB, free: 86.87 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/8.018, allocations: 85.39 kB / 3.227 GB, free: 86.84 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.742/9.76, allocations: 313.5 MB / 3.533 GB, free: 77.39 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.284e-06/9.76, allocations: 0.6094 kB / 3.533 GB, free: 77.39 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.168e-05/9.76, allocations: 11.92 kB / 3.533 GB, free: 77.39 MB / 0.5105 GB 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.005716/9.766, allocations: 1.316 MB / 3.535 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/9.766, allocations: 9.406 kB / 3.535 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002313/9.768, allocations: 193.4 kB / 3.535 GB, free: 76.85 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007661/9.769, allocations: 341 kB / 3.535 GB, free: 76.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.878e-05/9.769, allocations: 27.53 kB / 3.535 GB, free: 76.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.08e-05/9.769, allocations: 24.19 kB / 3.535 GB, free: 76.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/9.771, allocations: 485.1 kB / 3.536 GB, free: 76.52 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/9.771, allocations: 3.641 kB / 3.536 GB, free: 76.52 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-05/9.771, allocations: 16.17 kB / 3.536 GB, free: 76.51 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/9.771, allocations: 7.5 kB / 3.536 GB, free: 76.51 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/9.772, allocations: 388.3 kB / 3.536 GB, free: 76.51 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004368/9.777, allocations: 2.387 MB / 3.538 GB, free: 74.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/9.778, allocations: 288.4 kB / 3.539 GB, free: 74.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/9.778, allocations: 70 kB / 3.539 GB, free: 74.72 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05232/9.831, allocations: 16.46 MB / 3.555 GB, free: 64.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/9.831, allocations: 37.16 kB / 3.555 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 2.785e-06/9.831, allocations: 0 / 3.555 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.002082/9.833, allocations: 437.3 kB / 3.555 GB, free: 64.49 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/9.833, allocations: 106.2 kB / 3.555 GB, free: 64.37 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004238/9.833, allocations: 279.2 kB / 3.556 GB, free: 64.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/9.833, allocations: 35.02 kB / 3.556 GB, free: 64.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/9.834, allocations: 265.6 kB / 3.556 GB, free: 64.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/9.834, allocations: 53.03 kB / 3.556 GB, free: 64.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.845e-05/9.834, allocations: 3.312 kB / 3.556 GB, free: 64.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.714e-05/9.834, allocations: 321.1 kB / 3.556 GB, free: 63.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/9.834, allocations: 52.22 kB / 3.556 GB, free: 63.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/9.834, allocations: 177.1 kB / 3.557 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/9.834, allocations: 88.83 kB / 3.557 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/9.834, allocations: 0 / 3.557 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006038/9.835, allocations: 247.2 kB / 3.557 GB, free: 63.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/9.835, allocations: 4.312 kB / 3.557 GB, free: 63.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/9.835, allocations: 4.375 kB / 3.557 GB, free: 63.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/9.835, allocations: 5.812 kB / 3.557 GB, free: 63.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005335/9.836, allocations: 75.78 kB / 3.557 GB, free: 63.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/9.836, allocations: 6.719 kB / 3.557 GB, free: 63.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/9.836, allocations: 58.02 kB / 3.557 GB, free: 63.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/9.836, allocations: 15.45 kB / 3.557 GB, free: 63.52 MB / 0.5105 GB 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 () * 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.0001432/9.836, allocations: 120.9 kB / 3.557 GB, free: 63.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.397e-05/9.836, allocations: 38.5 kB / 3.557 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/9.838, allocations: 1.061 MB / 3.558 GB, free: 63.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/9.838, allocations: 18.39 kB / 3.558 GB, free: 63.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/9.838, allocations: 0 / 3.558 GB, free: 63.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/9.838, allocations: 0 / 3.558 GB, free: 63.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008879/9.839, allocations: 0.658 MB / 3.559 GB, free: 63.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/9.839, allocations: 5.25 kB / 3.559 GB, free: 63.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004507/9.839, allocations: 57.09 kB / 3.559 GB, free: 63.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/9.839, allocations: 1.156 kB / 3.559 GB, free: 63.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/9.839, allocations: 4.781 kB / 3.559 GB, free: 63.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/9.839, allocations: 1.125 kB / 3.559 GB, free: 63.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/9.839, allocations: 4.844 kB / 3.559 GB, free: 63.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000808/9.84, allocations: 0.5523 MB / 3.559 GB, free: 62.83 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/9.841, allocations: 205.2 kB / 3.56 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.37e-05/9.841, allocations: 0 / 3.56 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/9.841, allocations: 38.92 kB / 3.56 GB, free: 62.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/9.841, allocations: 19.86 kB / 3.56 GB, free: 62.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/9.841, allocations: 7.656 kB / 3.56 GB, free: 62.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004998/9.842, allocations: 334.7 kB / 3.56 GB, free: 62.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/9.842, allocations: 2.625 kB / 3.56 GB, free: 62.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004553/9.846, allocations: 0.8654 MB / 3.561 GB, free: 62.5 MB / 0.5105 GB 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 () * 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.00777/9.854, allocations: 1.295 MB / 3.562 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006785/9.855, allocations: 280.6 kB / 3.562 GB, free: 62.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/9.855, allocations: 3.688 kB / 3.562 GB, free: 62.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003059/9.855, allocations: 219.9 kB / 3.563 GB, free: 62.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/9.857, allocations: 177.3 kB / 3.563 GB, free: 62.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/9.858, allocations: 0.7271 MB / 3.564 GB, free: 62.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/9.858, allocations: 0.8917 MB / 3.564 GB, free: 61.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/9.859, allocations: 33.94 kB / 3.564 GB, free: 61.31 MB / 0.5105 GB Notification: Performance of SimCode: time 1.603e-06/9.859, allocations: 0 / 3.564 GB, free: 61.31 MB / 0.5105 GB Notification: Performance of Templates: time 0.0482/9.907, allocations: 23.27 MB / 3.587 GB, free: 60.01 MB / 0.5105 GB 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/jenkins1/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