Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001193/0.001193, allocations: 203.9 kB / 8.539 MB, free: 1.75 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 225.5 MB / 234.4 MB, free: 3.457 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009788/0.0009788, allocations: 95.44 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 45.15 MB / 383.4 MB, free: 0.625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.935e-06/8.186e-06, allocations: 0 / 452.6 MB, free: 76.24 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1149, allocations: 63.24 MB / 0.5038 GB, free: 13.07 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.435/6.55, allocations: 2.76 GB / 3.264 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/6.55, allocations: 78.33 kB / 3.264 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.036/7.587, allocations: 313.3 MB / 3.57 GB, free: 53.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.554e-05/7.587, allocations: 8 kB / 3.57 GB, free: 53.09 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.006368/7.593, allocations: 1.32 MB / 3.571 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/7.593, allocations: 15.97 kB / 3.571 GB, free: 51.71 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002205/7.596, allocations: 231.3 kB / 3.571 GB, free: 51.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007476/7.596, allocations: 341.2 kB / 3.572 GB, free: 51.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.151e-05/7.596, allocations: 8 kB / 3.572 GB, free: 51.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/7.596, allocations: 16 kB / 3.572 GB, free: 51.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004496/7.597, allocations: 229.2 kB / 3.572 GB, free: 50.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/7.597, allocations: 323 kB / 3.572 GB, free: 50.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/7.597, allocations: 3.938 kB / 3.572 GB, free: 50.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/7.597, allocations: 4 kB / 3.572 GB, free: 50.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/7.597, allocations: 8 kB / 3.572 GB, free: 50.49 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003013/7.6, allocations: 2.332 MB / 3.574 GB, free: 47.97 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/7.601, allocations: 126.6 kB / 3.575 GB, free: 47.84 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/7.601, allocations: 64.84 kB / 3.575 GB, free: 47.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0339/7.635, allocations: 18.86 MB / 3.593 GB, free: 26.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/7.635, allocations: 38.56 kB / 3.593 GB, free: 26.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 2.564e-06/7.635, allocations: 0 / 3.593 GB, free: 26.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.001097/7.636, allocations: 273.2 kB / 3.593 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/7.636, allocations: 106.8 kB / 3.593 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/7.636, allocations: 231.6 kB / 3.594 GB, free: 25.84 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/7.636, allocations: 25.7 kB / 3.594 GB, free: 25.81 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/7.636, allocations: 191.5 kB / 3.594 GB, free: 25.62 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/7.636, allocations: 47.3 kB / 3.594 GB, free: 25.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/7.636, allocations: 0 / 3.594 GB, free: 25.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.989e-05/7.637, allocations: 334.8 kB / 3.594 GB, free: 25.24 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.283e-05/7.637, allocations: 52 kB / 3.594 GB, free: 25.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/7.637, allocations: 173.6 kB / 3.594 GB, free: 24.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/7.637, allocations: 98.58 kB / 3.595 GB, free: 24.87 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/7.637, allocations: 7.906 kB / 3.595 GB, free: 24.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008308/7.638, allocations: 360.9 kB / 3.595 GB, free: 24.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/7.638, allocations: 4 kB / 3.595 GB, free: 24.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/7.638, allocations: 4 kB / 3.595 GB, free: 24.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/7.638, allocations: 4.469 kB / 3.595 GB, free: 24.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/7.638, allocations: 83.88 kB / 3.595 GB, free: 24.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/7.638, allocations: 7.938 kB / 3.595 GB, free: 24.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/7.639, allocations: 51.61 kB / 3.595 GB, free: 24.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/7.639, allocations: 19.98 kB / 3.595 GB, free: 24.33 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.707e-05/7.639, allocations: 108.9 kB / 3.595 GB, free: 24.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000367/7.639, allocations: 135.5 kB / 3.595 GB, free: 24.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/7.64, allocations: 0.9991 MB / 3.596 GB, free: 23.08 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/7.64, allocations: 15.97 kB / 3.596 GB, free: 23.06 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/7.64, allocations: 0 / 3.596 GB, free: 23.06 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/7.64, allocations: 0 / 3.596 GB, free: 23.06 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/7.642, allocations: 1.453 MB / 3.598 GB, free: 21.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/7.642, allocations: 0 / 3.598 GB, free: 21.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/7.642, allocations: 47.97 kB / 3.598 GB, free: 21.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/7.642, allocations: 0 / 3.598 GB, free: 21.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/7.642, allocations: 7.984 kB / 3.598 GB, free: 21.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/7.642, allocations: 4 kB / 3.598 GB, free: 21.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/7.642, allocations: 0 / 3.598 GB, free: 21.51 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009421/7.643, allocations: 0.8876 MB / 3.599 GB, free: 20.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/7.643, allocations: 108.6 kB / 3.599 GB, free: 20.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.236e-05/7.643, allocations: 7.906 kB / 3.599 GB, free: 20.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/7.643, allocations: 27.92 kB / 3.599 GB, free: 20.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.976e-05/7.643, allocations: 23.95 kB / 3.599 GB, free: 20.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/7.643, allocations: 15.98 kB / 3.599 GB, free: 20.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001251/7.643, allocations: 167.1 kB / 3.599 GB, free: 20.24 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00465/7.648, allocations: 0.8819 MB / 3.6 GB, free: 19.36 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.00532/7.653, allocations: 1.459 MB / 3.601 GB, free: 18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005563/7.654, allocations: 445.2 kB / 3.602 GB, free: 17.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/7.654, allocations: 0 / 3.602 GB, free: 17.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003024/7.654, allocations: 432.4 kB / 3.602 GB, free: 17.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007359/7.655, allocations: 118.3 kB / 3.602 GB, free: 17.03 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/7.656, allocations: 0.7259 MB / 3.603 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/7.656, allocations: 0.8864 MB / 3.604 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of SimCode: time 3.31e-07/7.656, allocations: 0 / 3.604 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of Templates: time 0.3181/7.975, allocations: 27.7 MB / 3.631 GB, free: 128 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches