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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 172.1 kB / 16.76 MB, free: 5.059 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.651/1.651, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0008152/0.0008152, allocations: 93.97 kB / 271.3 MB, free: 8.258 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.4368/0.4368, allocations: 43.57 MB / 363.1 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000549/0.0005494, allocations: 12 kB / 432.6 MB, free: 4.977 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1495, allocations: 58.85 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.505/6.655, allocations: 2.755 GB / 3.235 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/6.655, allocations: 89.3 kB / 3.235 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8947/7.55, allocations: 303.3 MB / 3.531 GB, free: 32.21 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.366e-06/7.55, allocations: 0 / 3.531 GB, free: 32.21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.349e-05/7.55, allocations: 18.67 kB / 3.531 GB, free: 32.2 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.005516/7.555, allocations: 1.34 MB / 3.532 GB, free: 30.81 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/7.555, allocations: 12.03 kB / 3.532 GB, free: 30.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/7.557, allocations: 207 kB / 3.532 GB, free: 30.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005725/7.558, allocations: 344.6 kB / 3.533 GB, free: 30.23 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/7.558, allocations: 21.69 kB / 3.533 GB, free: 30.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/7.558, allocations: 24 kB / 3.533 GB, free: 30.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/7.559, allocations: 0.4949 MB / 3.533 GB, free: 29.65 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/7.559, allocations: 3.938 kB / 3.533 GB, free: 29.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/7.559, allocations: 20 kB / 3.533 GB, free: 29.62 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/7.559, allocations: 8 kB / 3.533 GB, free: 29.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/7.56, allocations: 433.3 kB / 3.534 GB, free: 29.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/7.563, allocations: 2.397 MB / 3.536 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009582/7.563, allocations: 337.5 kB / 3.536 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/7.564, allocations: 104.8 kB / 3.537 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02658/7.59, allocations: 16.4 MB / 3.553 GB, free: 7.758 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/7.59, allocations: 34.56 kB / 3.553 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 2.685e-06/7.59, allocations: 0 / 3.553 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.002008/7.592, allocations: 0.5336 MB / 3.553 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/7.593, allocations: 114.7 kB / 3.553 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003941/7.593, allocations: 320.5 kB / 3.554 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/7.593, allocations: 25.7 kB / 3.554 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/7.593, allocations: 211.7 kB / 3.554 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/7.593, allocations: 53.94 kB / 3.554 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/7.593, allocations: 8 kB / 3.554 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.867e-05/7.593, allocations: 334.8 kB / 3.554 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/7.594, allocations: 95.94 kB / 3.554 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/7.594, allocations: 209 kB / 3.554 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005679/7.594, allocations: 304.9 kB / 3.555 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/7.594, allocations: 0 / 3.555 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006851/7.595, allocations: 340.8 kB / 3.555 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/7.595, allocations: 7.938 kB / 3.555 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/7.595, allocations: 4 kB / 3.555 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/7.595, allocations: 11.98 kB / 3.555 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/7.595, allocations: 80.3 kB / 3.555 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/7.595, allocations: 11.94 kB / 3.555 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/7.596, allocations: 43.67 kB / 3.555 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/7.596, allocations: 19.98 kB / 3.555 GB, free: 4.867 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 () * 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.0001846/7.596, allocations: 149.8 kB / 3.555 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-05/7.596, allocations: 31.62 kB / 3.555 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/7.597, allocations: 1.136 MB / 3.556 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/7.597, allocations: 19.91 kB / 3.556 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/7.597, allocations: 0 / 3.556 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/7.597, allocations: 0 / 3.556 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005989/7.598, allocations: 0.6553 MB / 3.557 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/7.598, allocations: 0 / 3.557 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/7.598, allocations: 55.95 kB / 3.557 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/7.598, allocations: 4 kB / 3.557 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/7.598, allocations: 3.984 kB / 3.557 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/7.598, allocations: 7.938 kB / 3.557 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/7.598, allocations: 0 / 3.557 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006822/7.599, allocations: 0.6203 MB / 3.558 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/7.599, allocations: 207.9 kB / 3.558 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/7.599, allocations: 0 / 3.558 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/7.599, allocations: 39.91 kB / 3.558 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.199e-05/7.6, allocations: 19.97 kB / 3.558 GB, free: 1.828 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/7.6, allocations: 4 kB / 3.558 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002972/7.6, allocations: 334.9 kB / 3.558 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/7.6, allocations: 0 / 3.558 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004214/7.604, allocations: 0.8809 MB / 3.559 GB, free: 0.6172 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 () * 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.266/7.87, allocations: 1.28 MB / 3.56 GB, free: 66.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009963/7.871, allocations: 349.7 kB / 3.561 GB, free: 66.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/7.871, allocations: 1.031 kB / 3.561 GB, free: 66.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004168/7.872, allocations: 262.1 kB / 3.561 GB, free: 66.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/7.873, allocations: 179.5 kB / 3.561 GB, free: 66.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/7.874, allocations: 1.241 MB / 3.562 GB, free: 66.35 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/7.875, allocations: 0.8772 MB / 3.563 GB, free: 65.65 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004516/7.875, allocations: 164.8 kB / 3.563 GB, free: 65.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.074e-05/7.875, allocations: 33.66 kB / 3.564 GB, free: 65.64 MB / 0.5105 GB Notification: Performance of SimCode: time 5.82e-07/7.875, allocations: 0 / 3.564 GB, free: 65.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.04314/7.918, allocations: 30.35 MB / 3.593 GB, free: 65.27 MB / 0.5105 GB 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/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_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches