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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009487/0.0009487, allocations: 189.8 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.023/1.023, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008517/0.0008516, allocations: 87.45 kB / 261.4 MB, free: 13.54 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.1523/0.1523, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.156e-06/8.346e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2074, allocations: 58.84 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.847/4.055, allocations: 2.754 GB / 3.219 GB, free: 96.39 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/4.055, allocations: 80.52 kB / 3.219 GB, free: 96.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.8537/4.909, allocations: 309.9 MB / 3.522 GB, free: 68.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.848e-05/4.909, allocations: 14.59 kB / 3.522 GB, free: 68.91 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.003231/4.912, allocations: 1.32 MB / 3.523 GB, free: 68.35 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/4.912, allocations: 7.875 kB / 3.523 GB, free: 68.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/4.914, allocations: 225.7 kB / 3.523 GB, free: 68.33 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/4.914, allocations: 329.9 kB / 3.524 GB, free: 68.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/4.914, allocations: 11.72 kB / 3.524 GB, free: 68.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/4.914, allocations: 15.72 kB / 3.524 GB, free: 68.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003301/4.914, allocations: 231 kB / 3.524 GB, free: 68.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/4.915, allocations: 326.7 kB / 3.524 GB, free: 67.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/4.915, allocations: 0 / 3.524 GB, free: 67.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/4.915, allocations: 11.06 kB / 3.524 GB, free: 67.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/4.915, allocations: 3.969 kB / 3.524 GB, free: 67.99 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/4.917, allocations: 2.32 MB / 3.526 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/4.917, allocations: 142.4 kB / 3.527 GB, free: 66.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.931e-05/4.917, allocations: 66.03 kB / 3.527 GB, free: 66.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02574/4.943, allocations: 16.46 MB / 3.543 GB, free: 56.08 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/4.943, allocations: 37.72 kB / 3.543 GB, free: 56.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/4.943, allocations: 0 / 3.543 GB, free: 56.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0008045/4.944, allocations: 280.6 kB / 3.543 GB, free: 56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/4.944, allocations: 102.8 kB / 3.543 GB, free: 55.87 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/4.944, allocations: 230.2 kB / 3.543 GB, free: 55.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/4.944, allocations: 25.7 kB / 3.543 GB, free: 55.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/4.944, allocations: 184.8 kB / 3.543 GB, free: 55.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/4.944, allocations: 50.14 kB / 3.544 GB, free: 55.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/4.944, allocations: 0 / 3.544 GB, free: 55.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.81e-05/4.944, allocations: 338.7 kB / 3.544 GB, free: 55.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/4.944, allocations: 55.52 kB / 3.544 GB, free: 55.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/4.944, allocations: 178.7 kB / 3.544 GB, free: 55.13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/4.945, allocations: 87.03 kB / 3.544 GB, free: 55.13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/4.945, allocations: 7.812 kB / 3.544 GB, free: 55.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007743/4.945, allocations: 369.5 kB / 3.545 GB, free: 55.08 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/4.945, allocations: 7.125 kB / 3.545 GB, free: 55.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/4.945, allocations: 7.625 kB / 3.545 GB, free: 55.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/4.945, allocations: 6.969 kB / 3.545 GB, free: 55.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/4.946, allocations: 77.89 kB / 3.545 GB, free: 55.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/4.946, allocations: 10.33 kB / 3.545 GB, free: 55.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/4.946, allocations: 43.67 kB / 3.545 GB, free: 55.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/4.946, allocations: 18.12 kB / 3.545 GB, free: 55.07 MB / 0.4948 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 7.373e-05/4.946, allocations: 120.8 kB / 3.545 GB, free: 54.97 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003413/4.946, allocations: 135.6 kB / 3.545 GB, free: 54.95 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008949/4.947, allocations: 0.9882 MB / 3.546 GB, free: 54.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/4.947, allocations: 18.75 kB / 3.546 GB, free: 54.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/4.947, allocations: 0 / 3.546 GB, free: 54.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/4.947, allocations: 0 / 3.546 GB, free: 54.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/4.949, allocations: 1.449 MB / 3.547 GB, free: 54.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/4.949, allocations: 0 / 3.547 GB, free: 54.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/4.949, allocations: 53 kB / 3.547 GB, free: 54.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/4.949, allocations: 0 / 3.547 GB, free: 54.56 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/4.949, allocations: 3.875 kB / 3.547 GB, free: 54.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/4.949, allocations: 1.219 kB / 3.547 GB, free: 54.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/4.949, allocations: 0 / 3.547 GB, free: 54.56 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008611/4.95, allocations: 0.8848 MB / 3.548 GB, free: 54.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/4.95, allocations: 119.4 kB / 3.548 GB, free: 54.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/4.95, allocations: 0 / 3.548 GB, free: 54.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/4.95, allocations: 33.94 kB / 3.548 GB, free: 54.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/4.95, allocations: 27.34 kB / 3.548 GB, free: 54.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/4.95, allocations: 6.094 kB / 3.548 GB, free: 54.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.000105/4.95, allocations: 180.3 kB / 3.549 GB, free: 54.19 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002539/4.953, allocations: 0.8645 MB / 3.549 GB, free: 54.1 MB / 0.4948 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,$cse3.phase,$cse3.region,$cse4.phase,$cse4.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.003444/4.956, allocations: 1.436 MB / 3.551 GB, free: 53.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004019/4.957, allocations: 454.1 kB / 3.551 GB, free: 53.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/4.957, allocations: 3.219 kB / 3.551 GB, free: 53.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002812/4.957, allocations: 422.1 kB / 3.552 GB, free: 53.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006022/4.957, allocations: 129.4 kB / 3.552 GB, free: 53.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007951/4.958, allocations: 0.7251 MB / 3.553 GB, free: 53.67 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/4.959, allocations: 0.8893 MB / 3.553 GB, free: 52.96 MB / 0.4948 GB Notification: Performance of SimCode: time 2.3e-07/4.959, allocations: 0 / 3.553 GB, free: 52.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.02788/4.986, allocations: 27.62 MB / 3.58 GB, free: 52.46 MB / 0.4948 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