Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001683/0.001683, allocations: 172.8 kB / 8.145 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001264/0.001264, allocations: 88.48 kB / 261.8 MB, free: 13.6 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2625/0.2625, allocations: 43.49 MB / 353.2 MB, free: 2.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.606e-06/8.767e-06, allocations: 0 / 417.7 MB, free: 40.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2825, allocations: 58.85 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.777/6.06, allocations: 2.754 GB / 3.219 GB, free: 30.76 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/6.06, allocations: 87.64 kB / 3.219 GB, free: 30.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.507/7.567, allocations: 309.9 MB / 3.522 GB, free: 77.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.022e-05/7.567, allocations: 15.03 kB / 3.522 GB, free: 77.71 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.005791/7.573, allocations: 1.308 MB / 3.523 GB, free: 77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/7.573, allocations: 10.44 kB / 3.523 GB, free: 77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002512/7.576, allocations: 218.5 kB / 3.523 GB, free: 76.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000743/7.576, allocations: 340.2 kB / 3.524 GB, free: 76.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.881e-05/7.576, allocations: 10.12 kB / 3.524 GB, free: 76.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/7.576, allocations: 19.66 kB / 3.524 GB, free: 76.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000679/7.577, allocations: 233.1 kB / 3.524 GB, free: 76.76 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006738/7.578, allocations: 327.4 kB / 3.524 GB, free: 76.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/7.578, allocations: 3.938 kB / 3.524 GB, free: 76.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.029e-05/7.578, allocations: 3.812 kB / 3.524 GB, free: 76.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/7.578, allocations: 7.594 kB / 3.524 GB, free: 76.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004183/7.582, allocations: 2.325 MB / 3.526 GB, free: 74.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/7.583, allocations: 129.9 kB / 3.527 GB, free: 74.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/7.583, allocations: 58.28 kB / 3.527 GB, free: 74.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05599/7.639, allocations: 16.48 MB / 3.543 GB, free: 64.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.143e-05/7.639, allocations: 34.56 kB / 3.543 GB, free: 63.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 3.075e-06/7.639, allocations: 0 / 3.543 GB, free: 63.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.001381/7.64, allocations: 280 kB / 3.543 GB, free: 63.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/7.64, allocations: 106.8 kB / 3.543 GB, free: 63.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/7.641, allocations: 227.1 kB / 3.543 GB, free: 63.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/7.641, allocations: 25.7 kB / 3.543 GB, free: 63.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.438e-05/7.641, allocations: 244.3 kB / 3.544 GB, free: 63.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.713e-05/7.641, allocations: 47.06 kB / 3.544 GB, free: 63.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/7.641, allocations: 0 / 3.544 GB, free: 63.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.16e-05/7.641, allocations: 326.4 kB / 3.544 GB, free: 63.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/7.641, allocations: 55.12 kB / 3.544 GB, free: 63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/7.641, allocations: 177.2 kB / 3.544 GB, free: 62.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004685/7.642, allocations: 95.06 kB / 3.544 GB, free: 62.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/7.642, allocations: 3.719 kB / 3.544 GB, free: 62.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00136/7.643, allocations: 350.7 kB / 3.545 GB, free: 62.67 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/7.643, allocations: 9.594 kB / 3.545 GB, free: 62.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/7.643, allocations: 3.844 kB / 3.545 GB, free: 62.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/7.643, allocations: 7.188 kB / 3.545 GB, free: 62.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005712/7.644, allocations: 73.78 kB / 3.545 GB, free: 62.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/7.644, allocations: 15.3 kB / 3.545 GB, free: 62.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/7.644, allocations: 35.12 kB / 3.545 GB, free: 62.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/7.644, allocations: 22.34 kB / 3.545 GB, free: 62.65 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 9.891e-05/7.645, allocations: 38.92 kB / 3.545 GB, free: 62.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005998/7.645, allocations: 131.4 kB / 3.545 GB, free: 62.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/7.647, allocations: 0.9939 MB / 3.546 GB, free: 62.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/7.647, allocations: 14.61 kB / 3.546 GB, free: 62.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/7.647, allocations: 2.094 kB / 3.546 GB, free: 62.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/7.647, allocations: 3.891 kB / 3.546 GB, free: 62.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/7.649, allocations: 1.457 MB / 3.547 GB, free: 61.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/7.649, allocations: 3.531 kB / 3.547 GB, free: 61.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/7.65, allocations: 51.2 kB / 3.547 GB, free: 61.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/7.65, allocations: 0 / 3.547 GB, free: 61.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/7.65, allocations: 3.5 kB / 3.547 GB, free: 61.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/7.65, allocations: 0 / 3.547 GB, free: 61.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/7.65, allocations: 3.938 kB / 3.547 GB, free: 61.39 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001566/7.651, allocations: 0.8843 MB / 3.548 GB, free: 61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/7.651, allocations: 115.6 kB / 3.548 GB, free: 60.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.508e-05/7.651, allocations: 3.891 kB / 3.548 GB, free: 60.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004444/7.652, allocations: 34.33 kB / 3.548 GB, free: 60.87 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.239e-05/7.652, allocations: 23.08 kB / 3.548 GB, free: 60.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/7.652, allocations: 9.688 kB / 3.548 GB, free: 60.87 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002198/7.652, allocations: 175.8 kB / 3.549 GB, free: 60.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004435/7.657, allocations: 0.8643 MB / 3.549 GB, free: 60.58 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.00921/7.666, allocations: 1.44 MB / 3.551 GB, free: 60.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008873/7.667, allocations: 451 kB / 3.551 GB, free: 60.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/7.667, allocations: 0 / 3.551 GB, free: 60.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005032/7.667, allocations: 427.5 kB / 3.552 GB, free: 59.87 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/7.669, allocations: 128.7 kB / 3.552 GB, free: 59.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/7.67, allocations: 0.7524 MB / 3.552 GB, free: 59.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/7.671, allocations: 0.8862 MB / 3.553 GB, free: 58.74 MB / 0.4948 GB Notification: Performance of SimCode: time 9.52e-07/7.671, allocations: 0 / 3.553 GB, free: 58.74 MB / 0.4948 GB Notification: Performance of Templates: time 0.05332/7.724, allocations: 22.7 MB / 3.576 GB, free: 56.2 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches