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.001748/0.001747, allocations: 185 kB / 15.76 MB, free: 6.367 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.937/1.937, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001071/0.001071, allocations: 82.86 kB / 270.2 MB, free: 13.37 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.2405/0.2405, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003401, allocations: 11.98 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1412, allocations: 58.85 MB / 490.3 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.819/7.96, allocations: 2.754 GB / 3.233 GB, free: 161.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003652/7.961, allocations: 85.64 kB / 3.233 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.102/9.063, allocations: 314.4 MB / 3.54 GB, free: 50.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.116e-06/9.063, allocations: 4 kB / 3.54 GB, free: 50.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.971e-05/9.063, allocations: 8 kB / 3.54 GB, free: 50.59 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.006462/9.069, allocations: 1.355 MB / 3.542 GB, free: 49.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/9.069, allocations: 12.03 kB / 3.542 GB, free: 49.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/9.071, allocations: 195.4 kB / 3.542 GB, free: 48.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007178/9.072, allocations: 345.1 kB / 3.542 GB, free: 48.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.181e-05/9.072, allocations: 20.56 kB / 3.542 GB, free: 48.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/9.072, allocations: 24.69 kB / 3.542 GB, free: 48.56 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/9.073, allocations: 498.9 kB / 3.543 GB, free: 48.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/9.073, allocations: 7.953 kB / 3.543 GB, free: 48.03 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.068e-05/9.073, allocations: 12 kB / 3.543 GB, free: 48.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/9.074, allocations: 7.984 kB / 3.543 GB, free: 48.01 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/9.075, allocations: 441.2 kB / 3.543 GB, free: 47.58 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002967/9.078, allocations: 2.393 MB / 3.545 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/9.079, allocations: 326.3 kB / 3.546 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02903/9.108, allocations: 16.4 MB / 3.562 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/9.108, allocations: 38.56 kB / 3.562 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 2.565e-06/9.108, allocations: 0 / 3.562 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.002061/9.11, allocations: 0.5284 MB / 3.562 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/9.11, allocations: 106.8 kB / 3.562 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004085/9.11, allocations: 291.6 kB / 3.563 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/9.11, allocations: 29.7 kB / 3.563 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/9.111, allocations: 207.6 kB / 3.563 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/9.111, allocations: 55.23 kB / 3.563 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-05/9.111, allocations: 4 kB / 3.563 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001041/9.111, allocations: 338.8 kB / 3.563 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/9.111, allocations: 91.94 kB / 3.563 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/9.111, allocations: 203.4 kB / 3.564 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/9.112, allocations: 111.9 kB / 3.564 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/9.112, allocations: 4 kB / 3.564 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007334/9.112, allocations: 348.5 kB / 3.564 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/9.112, allocations: 10.19 kB / 3.564 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/9.113, allocations: 4 kB / 3.564 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/9.113, allocations: 4 kB / 3.564 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/9.113, allocations: 76.36 kB / 3.564 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/9.113, allocations: 15.98 kB / 3.564 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/9.113, allocations: 51.67 kB / 3.564 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/9.113, allocations: 12 kB / 3.564 GB, free: 23.66 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.0001923/9.113, allocations: 157.8 kB / 3.564 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.876e-05/9.114, allocations: 39.58 kB / 3.564 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/9.115, allocations: 1.125 MB / 3.565 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/9.115, allocations: 11.98 kB / 3.566 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/9.115, allocations: 3.938 kB / 3.566 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/9.115, allocations: 7.984 kB / 3.566 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006942/9.116, allocations: 0.6637 MB / 3.566 GB, free: 21.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/9.116, allocations: 0 / 3.566 GB, free: 21.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/9.116, allocations: 51.95 kB / 3.566 GB, free: 21.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/9.116, allocations: 0 / 3.566 GB, free: 21.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/9.116, allocations: 8 kB / 3.566 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/9.116, allocations: 0 / 3.566 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/9.116, allocations: 11.92 kB / 3.566 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00077/9.117, allocations: 0.6231 MB / 3.567 GB, free: 20.87 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/9.117, allocations: 200 kB / 3.567 GB, free: 20.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.779e-05/9.117, allocations: 7.938 kB / 3.567 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/9.117, allocations: 23.98 kB / 3.567 GB, free: 20.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.253e-05/9.117, allocations: 31.94 kB / 3.567 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/9.117, allocations: 4 kB / 3.567 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003264/9.118, allocations: 338.9 kB / 3.567 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/9.118, allocations: 0 / 3.567 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004908/9.123, allocations: 0.869 MB / 3.568 GB, free: 19.39 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.008326/9.131, allocations: 1.297 MB / 3.57 GB, free: 18.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009369/9.132, allocations: 349.2 kB / 3.57 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/9.132, allocations: 0 / 3.57 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004256/9.132, allocations: 256.5 kB / 3.57 GB, free: 17.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/9.133, allocations: 178.4 kB / 3.57 GB, free: 17.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/9.135, allocations: 1.252 MB / 3.572 GB, free: 16.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/9.136, allocations: 0.88 MB / 3.572 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004576/9.136, allocations: 166.4 kB / 3.573 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.854e-05/9.136, allocations: 39.42 kB / 3.573 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of SimCode: time 7.31e-07/9.136, allocations: 0 / 3.573 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of Templates: time 0.4093/9.546, allocations: 28.51 MB / 3.6 GB, free: 77.54 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/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_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches