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.0009793/0.000979, allocations: 181.4 kB / 13.19 MB, free: 2.121 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.436/1.436, allocations: 205.2 MB / 218.9 MB, free: 9.195 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.0008336/0.0008335, allocations: 92.44 kB / 267.1 MB, free: 9.266 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.3451/0.3451, allocations: 43.47 MB / 358.6 MB, free: 52.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.134e-05/4.137e-05, allocations: 4 kB / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1157, allocations: 58.85 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.625/5.74, allocations: 2.754 GB / 3.227 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/5.741, allocations: 88.17 kB / 3.227 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8488/6.59, allocations: 313.6 MB / 3.533 GB, free: 22.74 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.91e-07/6.59, allocations: 0 / 3.533 GB, free: 22.74 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.934e-05/6.59, allocations: 12 kB / 3.533 GB, free: 22.73 MB / 0.4948 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.004139/6.594, allocations: 1.309 MB / 3.535 GB, free: 21.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/6.594, allocations: 8.031 kB / 3.535 GB, free: 21.37 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/6.595, allocations: 210.4 kB / 3.535 GB, free: 21.17 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/6.596, allocations: 326.5 kB / 3.535 GB, free: 20.81 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/6.596, allocations: 24.56 kB / 3.535 GB, free: 20.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/6.596, allocations: 24.69 kB / 3.535 GB, free: 20.76 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008553/6.597, allocations: 486.9 kB / 3.536 GB, free: 20.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/6.597, allocations: 7.953 kB / 3.536 GB, free: 20.24 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/6.597, allocations: 15.94 kB / 3.536 GB, free: 20.22 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/6.597, allocations: 8 kB / 3.536 GB, free: 20.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008019/6.598, allocations: 377.4 kB / 3.536 GB, free: 19.85 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/6.6, allocations: 2.405 MB / 3.538 GB, free: 17.24 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007161/6.601, allocations: 290.4 kB / 3.539 GB, free: 16.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.421e-05/6.601, allocations: 68.84 kB / 3.539 GB, free: 16.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02602/6.627, allocations: 16.45 MB / 3.555 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/6.627, allocations: 38.56 kB / 3.555 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 2.084e-06/6.627, allocations: 0 / 3.555 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.001531/6.628, allocations: 439.4 kB / 3.555 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/6.628, allocations: 102.8 kB / 3.555 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/6.629, allocations: 282.6 kB / 3.556 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/6.629, allocations: 29.7 kB / 3.556 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/6.629, allocations: 199.7 kB / 3.556 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/6.629, allocations: 58.95 kB / 3.556 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/6.629, allocations: 4 kB / 3.556 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001233/6.629, allocations: 342.8 kB / 3.556 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.799e-05/6.629, allocations: 56 kB / 3.556 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/6.629, allocations: 180.8 kB / 3.557 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/6.63, allocations: 75.94 kB / 3.557 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/6.63, allocations: 7.953 kB / 3.557 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004063/6.63, allocations: 259.2 kB / 3.557 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/6.63, allocations: 11.98 kB / 3.557 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/6.63, allocations: 4 kB / 3.557 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/6.63, allocations: 7.938 kB / 3.557 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/6.63, allocations: 76.27 kB / 3.557 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/6.63, allocations: 11.94 kB / 3.557 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/6.631, allocations: 47.67 kB / 3.557 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/6.631, allocations: 19.98 kB / 3.557 GB, free: 12.11 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 9.451e-05/6.631, allocations: 128.8 kB / 3.557 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/6.631, allocations: 35.58 kB / 3.557 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/6.632, allocations: 1.065 MB / 3.558 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/6.632, allocations: 11.98 kB / 3.558 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/6.632, allocations: 0 / 3.558 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/6.632, allocations: 3.984 kB / 3.558 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006568/6.633, allocations: 0.6589 MB / 3.559 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/6.633, allocations: 0 / 3.559 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/6.633, allocations: 55.95 kB / 3.559 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/6.633, allocations: 0 / 3.559 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/6.633, allocations: 8 kB / 3.559 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/6.633, allocations: 0 / 3.559 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/6.633, allocations: 0 / 3.559 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00054/6.634, allocations: 0.5553 MB / 3.559 GB, free: 9.504 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/6.634, allocations: 203.9 kB / 3.56 GB, free: 9.285 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/6.634, allocations: 4 kB / 3.56 GB, free: 9.281 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/6.634, allocations: 27.98 kB / 3.56 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/6.634, allocations: 23.95 kB / 3.56 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/6.634, allocations: 4 kB / 3.56 GB, free: 9.227 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003338/6.634, allocations: 333.6 kB / 3.56 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/6.634, allocations: 0 / 3.56 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003669/6.638, allocations: 0.882 MB / 3.561 GB, free: 8.02 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.00357/6.642, allocations: 1.287 MB / 3.562 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003878/6.642, allocations: 273.2 kB / 3.562 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/6.642, allocations: 0 / 3.562 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/6.642, allocations: 226.7 kB / 3.563 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008638/6.643, allocations: 182.8 kB / 3.563 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009303/6.644, allocations: 0.6907 MB / 3.564 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/6.645, allocations: 0.8916 MB / 3.564 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003092/6.645, allocations: 159.8 kB / 3.565 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/6.645, allocations: 39.42 kB / 3.565 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/6.645, allocations: 0 / 3.565 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of Templates: time 0.2907/6.936, allocations: 30.19 MB / 3.594 GB, free: 74.87 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