Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009986/0.0009987, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 221.3 MB / 236 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009078/0.0009078, allocations: 91.84 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1751/0.1751, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.041e-05/3.045e-05, allocations: 7.984 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1223, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.449/6.571, allocations: 2.76 GB / 3.261 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/6.572, allocations: 84.45 kB / 3.261 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9188/7.491, allocations: 316.8 MB / 3.571 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.375e-06/7.491, allocations: 4 kB / 3.571 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.881e-05/7.491, allocations: 4 kB / 3.571 GB, free: 12.79 MB / 0.5261 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.00516/7.496, allocations: 1.309 MB / 3.572 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/7.496, allocations: 12.03 kB / 3.572 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/7.497, allocations: 212 kB / 3.572 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/7.498, allocations: 337.3 kB / 3.573 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/7.498, allocations: 24.56 kB / 3.573 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/7.498, allocations: 24 kB / 3.573 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008983/7.499, allocations: 490.9 kB / 3.573 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/7.499, allocations: 3.938 kB / 3.573 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/7.499, allocations: 12 kB / 3.573 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/7.499, allocations: 8 kB / 3.573 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000739/7.5, allocations: 377.4 kB / 3.574 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/7.502, allocations: 2.399 MB / 3.576 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007268/7.503, allocations: 286.4 kB / 3.576 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.562e-05/7.503, allocations: 68.84 kB / 3.576 GB, free: 6.902 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3798/7.883, allocations: 16.44 MB / 3.592 GB, free: 70.79 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/7.883, allocations: 39.53 kB / 3.592 GB, free: 70.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 3.115e-06/7.883, allocations: 0 / 3.592 GB, free: 70.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.001689/7.884, allocations: 438.9 kB / 3.593 GB, free: 70.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/7.885, allocations: 107.3 kB / 3.593 GB, free: 70.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/7.885, allocations: 283.6 kB / 3.593 GB, free: 70.49 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/7.885, allocations: 30.86 kB / 3.593 GB, free: 70.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/7.885, allocations: 205.6 kB / 3.593 GB, free: 70.35 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/7.885, allocations: 51.11 kB / 3.593 GB, free: 70.33 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/7.885, allocations: 4.844 kB / 3.593 GB, free: 70.33 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.591e-05/7.885, allocations: 342.7 kB / 3.594 GB, free: 70.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/7.885, allocations: 52.56 kB / 3.594 GB, free: 70.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/7.886, allocations: 174.1 kB / 3.594 GB, free: 69.88 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/7.886, allocations: 78.67 kB / 3.594 GB, free: 69.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/7.886, allocations: 1.656 kB / 3.594 GB, free: 69.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004522/7.886, allocations: 266.2 kB / 3.594 GB, free: 69.83 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/7.886, allocations: 6.594 kB / 3.594 GB, free: 69.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/7.886, allocations: 6.188 kB / 3.594 GB, free: 69.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/7.886, allocations: 11.06 kB / 3.594 GB, free: 69.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/7.887, allocations: 71.17 kB / 3.594 GB, free: 69.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/7.887, allocations: 16.09 kB / 3.594 GB, free: 69.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/7.887, allocations: 55.78 kB / 3.594 GB, free: 69.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/7.887, allocations: 19.69 kB / 3.594 GB, free: 69.81 MB / 0.5261 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.0001047/7.887, allocations: 122.3 kB / 3.595 GB, free: 69.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.754e-05/7.887, allocations: 27.41 kB / 3.595 GB, free: 69.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/7.889, allocations: 1.053 MB / 3.596 GB, free: 69.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.954e-05/7.889, allocations: 22.66 kB / 3.596 GB, free: 69.53 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/7.889, allocations: 0 / 3.596 GB, free: 69.53 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/7.889, allocations: 2.188 kB / 3.596 GB, free: 69.53 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008475/7.89, allocations: 0.6653 MB / 3.596 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/7.89, allocations: 0 / 3.596 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/7.89, allocations: 62.42 kB / 3.596 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/7.89, allocations: 3.094 kB / 3.596 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/7.89, allocations: 6.703 kB / 3.596 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/7.89, allocations: 0 / 3.596 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/7.89, allocations: 3.953 kB / 3.596 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007045/7.891, allocations: 0.5488 MB / 3.597 GB, free: 69.13 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/7.891, allocations: 205.8 kB / 3.597 GB, free: 69 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/7.891, allocations: 7.547 kB / 3.597 GB, free: 69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/7.891, allocations: 26.64 kB / 3.597 GB, free: 69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/7.891, allocations: 19.8 kB / 3.597 GB, free: 69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/7.891, allocations: 6.625 kB / 3.597 GB, free: 69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004698/7.892, allocations: 336.7 kB / 3.597 GB, free: 68.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/7.892, allocations: 0 / 3.597 GB, free: 68.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005918/7.898, allocations: 0.875 MB / 3.598 GB, free: 68.9 MB / 0.5261 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.00653/7.904, allocations: 1.295 MB / 3.6 GB, free: 68.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007727/7.905, allocations: 274.6 kB / 3.6 GB, free: 68.79 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/7.905, allocations: 0.7031 kB / 3.6 GB, free: 68.79 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003034/7.906, allocations: 222.9 kB / 3.6 GB, free: 68.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/7.907, allocations: 189.7 kB / 3.6 GB, free: 68.78 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/7.908, allocations: 0.7001 MB / 3.601 GB, free: 68.58 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/7.908, allocations: 0.8846 MB / 3.602 GB, free: 67.88 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004292/7.909, allocations: 163.8 kB / 3.602 GB, free: 67.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/7.909, allocations: 38.3 kB / 3.602 GB, free: 67.87 MB / 0.5261 GB Notification: Performance of SimCode: time 5.71e-07/7.909, allocations: 0 / 3.602 GB, free: 67.87 MB / 0.5261 GB Notification: Performance of Templates: time 0.04077/7.95, allocations: 30.2 MB / 3.631 GB, free: 67.31 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches