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") [: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 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 182.3 kB / 8.522 MB, free: 1.766 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 221.4 MB / 230.3 MB, free: 7.754 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.001015/0.001015, allocations: 92.72 kB / 281.2 MB, free: 5.512 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1808/0.1808, allocations: 44.14 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.773e-06/6.792e-06, allocations: 0 / 444 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1294, allocations: 61.91 MB / 0.4941 GB, free: 1.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.823/5.953, allocations: 2.759 GB / 3.253 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/5.953, allocations: 79.97 kB / 3.253 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.9019/6.855, allocations: 313.2 MB / 3.559 GB, free: 90.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.304e-05/6.855, allocations: 11.62 kB / 3.559 GB, free: 90.8 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.005221/6.86, allocations: 1.312 MB / 3.56 GB, free: 90.05 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/6.861, allocations: 15.66 kB / 3.56 GB, free: 90.05 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/6.862, allocations: 218.5 kB / 3.56 GB, free: 90.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/6.863, allocations: 347.1 kB / 3.561 GB, free: 89.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/6.863, allocations: 9.25 kB / 3.561 GB, free: 89.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/6.863, allocations: 15.34 kB / 3.561 GB, free: 89.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003824/6.863, allocations: 233.2 kB / 3.561 GB, free: 89.67 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/6.864, allocations: 326.5 kB / 3.561 GB, free: 89.47 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/6.864, allocations: 0 / 3.561 GB, free: 89.47 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/6.864, allocations: 0 / 3.561 GB, free: 89.47 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.587e-06/6.864, allocations: 10.3 kB / 3.561 GB, free: 89.47 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/6.866, allocations: 2.317 MB / 3.564 GB, free: 87.54 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/6.866, allocations: 133.7 kB / 3.564 GB, free: 87.47 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/6.867, allocations: 68.3 kB / 3.564 GB, free: 87.44 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03218/6.899, allocations: 16.48 MB / 3.58 GB, free: 76.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/6.899, allocations: 34.56 kB / 3.58 GB, free: 76.85 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 2.244e-06/6.899, allocations: 0 / 3.58 GB, free: 76.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.001206/6.9, allocations: 283.8 kB / 3.58 GB, free: 76.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/6.9, allocations: 108.2 kB / 3.58 GB, free: 76.62 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/6.901, allocations: 223.9 kB / 3.581 GB, free: 76.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/6.901, allocations: 25.7 kB / 3.581 GB, free: 76.45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/6.901, allocations: 195.2 kB / 3.581 GB, free: 76.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/6.901, allocations: 49.88 kB / 3.581 GB, free: 76.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/6.901, allocations: 0 / 3.581 GB, free: 76.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.463e-05/6.901, allocations: 333.2 kB / 3.581 GB, free: 75.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/6.901, allocations: 62.16 kB / 3.581 GB, free: 75.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/6.901, allocations: 170.6 kB / 3.581 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/6.901, allocations: 90.42 kB / 3.581 GB, free: 75.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/6.901, allocations: 1 kB / 3.581 GB, free: 75.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009406/6.902, allocations: 370.4 kB / 3.582 GB, free: 75.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/6.902, allocations: 4.438 kB / 3.582 GB, free: 75.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/6.902, allocations: 7.812 kB / 3.582 GB, free: 75.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/6.902, allocations: 5.719 kB / 3.582 GB, free: 75.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/6.903, allocations: 85.17 kB / 3.582 GB, free: 75.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/6.903, allocations: 4.688 kB / 3.582 GB, free: 75.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/6.903, allocations: 42.3 kB / 3.582 GB, free: 75.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/6.903, allocations: 15.97 kB / 3.582 GB, free: 75.55 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 8.832e-05/6.903, allocations: 116.5 kB / 3.582 GB, free: 75.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004032/6.904, allocations: 130.8 kB / 3.582 GB, free: 75.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/6.905, allocations: 0.9993 MB / 3.583 GB, free: 74.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/6.905, allocations: 11.53 kB / 3.583 GB, free: 74.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/6.905, allocations: 3.047 kB / 3.583 GB, free: 74.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/6.905, allocations: 0 / 3.583 GB, free: 74.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/6.907, allocations: 1.454 MB / 3.585 GB, free: 74.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/6.907, allocations: 0 / 3.585 GB, free: 74.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/6.907, allocations: 56.58 kB / 3.585 GB, free: 74.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/6.907, allocations: 1.469 kB / 3.585 GB, free: 74.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/6.907, allocations: 2.062 kB / 3.585 GB, free: 74.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/6.907, allocations: 4.938 kB / 3.585 GB, free: 74.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/6.907, allocations: 0 / 3.585 GB, free: 74.22 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001176/6.908, allocations: 0.8802 MB / 3.586 GB, free: 73.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.171e-05/6.909, allocations: 115.3 kB / 3.586 GB, free: 73.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/6.909, allocations: 1.125 kB / 3.586 GB, free: 73.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/6.909, allocations: 35.36 kB / 3.586 GB, free: 73.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.54e-05/6.909, allocations: 24.83 kB / 3.586 GB, free: 73.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/6.909, allocations: 5.656 kB / 3.586 GB, free: 73.69 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001678/6.909, allocations: 174.9 kB / 3.586 GB, free: 73.58 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004949/6.914, allocations: 0.8699 MB / 3.587 GB, free: 73.4 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,$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.006438/6.921, allocations: 1.439 MB / 3.588 GB, free: 73.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006349/6.921, allocations: 451.1 kB / 3.589 GB, free: 72.92 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/6.921, allocations: 3.938 kB / 3.589 GB, free: 72.92 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003278/6.922, allocations: 424.4 kB / 3.589 GB, free: 72.71 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007706/6.922, allocations: 132.7 kB / 3.589 GB, free: 72.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/6.923, allocations: 0.7188 MB / 3.59 GB, free: 72.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004044/6.924, allocations: 0.8932 MB / 3.591 GB, free: 71.61 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/6.924, allocations: 0 / 3.591 GB, free: 71.61 MB / 0.5261 GB Notification: Performance of Templates: time 0.03894/6.963, allocations: 27.64 MB / 3.618 GB, free: 52.44 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