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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 179.1 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.3 MB / 242.1 MB, free: 9.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008832/0.000883, allocations: 93.98 kB / 293.3 MB, free: 10.56 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.4364/0.4364, allocations: 44.15 MB / 388.5 MB, free: 38.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004322, allocations: 12 kB / 461.1 MB, free: 1.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.386, allocations: 61.87 MB / 0.5107 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.12/6.506, allocations: 2.76 GB / 3.271 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/6.506, allocations: 92.45 kB / 3.271 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.912/7.418, allocations: 306.6 MB / 3.57 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.395e-06/7.418, allocations: 0 / 3.57 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.452e-05/7.419, allocations: 11.94 kB / 3.57 GB, free: 6.48 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.005146/7.424, allocations: 1.348 MB / 3.572 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/7.424, allocations: 11.97 kB / 3.572 GB, free: 5.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/7.425, allocations: 204.3 kB / 3.572 GB, free: 4.871 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005491/7.426, allocations: 342.5 kB / 3.572 GB, free: 4.492 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/7.426, allocations: 21.69 kB / 3.572 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/7.426, allocations: 24 kB / 3.572 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/7.427, allocations: 0.4989 MB / 3.573 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/7.427, allocations: 0 / 3.573 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/7.427, allocations: 12 kB / 3.573 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/7.427, allocations: 11.94 kB / 3.573 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/7.429, allocations: 437.2 kB / 3.573 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002594/7.431, allocations: 2.404 MB / 3.575 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000986/7.432, allocations: 322.3 kB / 3.576 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/7.432, allocations: 111.9 kB / 3.576 GB, free: 420 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3266/7.759, allocations: 16.39 MB / 3.592 GB, free: 55.36 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/7.759, allocations: 36.19 kB / 3.592 GB, free: 55.32 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 2.595e-06/7.759, allocations: 0 / 3.592 GB, free: 55.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.001806/7.761, allocations: 0.5262 MB / 3.592 GB, free: 55.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/7.761, allocations: 107.2 kB / 3.592 GB, free: 55.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/7.761, allocations: 319.3 kB / 3.593 GB, free: 55.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/7.761, allocations: 28.52 kB / 3.593 GB, free: 55.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/7.762, allocations: 214.6 kB / 3.593 GB, free: 54.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/7.762, allocations: 46.56 kB / 3.593 GB, free: 54.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/7.762, allocations: 6.531 kB / 3.593 GB, free: 54.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.487e-05/7.762, allocations: 342.8 kB / 3.593 GB, free: 54.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/7.762, allocations: 94.58 kB / 3.593 GB, free: 54.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/7.762, allocations: 214.3 kB / 3.594 GB, free: 54.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004732/7.763, allocations: 298.9 kB / 3.594 GB, free: 54.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/7.763, allocations: 2.938 kB / 3.594 GB, free: 54.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006283/7.763, allocations: 339.8 kB / 3.594 GB, free: 54.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/7.763, allocations: 5.875 kB / 3.594 GB, free: 54.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/7.763, allocations: 10.22 kB / 3.594 GB, free: 54.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/7.763, allocations: 2.969 kB / 3.594 GB, free: 54.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/7.764, allocations: 74.42 kB / 3.594 GB, free: 54.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/7.764, allocations: 5.25 kB / 3.594 GB, free: 54.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002804/7.764, allocations: 61.05 kB / 3.594 GB, free: 54.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/7.764, allocations: 15.28 kB / 3.594 GB, free: 54.26 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 () * Number of clocked 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 0.0001675/7.764, allocations: 161.2 kB / 3.595 GB, free: 54.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/7.764, allocations: 27.53 kB / 3.595 GB, free: 54.13 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/7.765, allocations: 1.13 MB / 3.596 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/7.766, allocations: 18.64 kB / 3.596 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/7.766, allocations: 3.75 kB / 3.596 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/7.766, allocations: 3.062 kB / 3.596 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006434/7.766, allocations: 0.6623 MB / 3.596 GB, free: 53.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/7.766, allocations: 0 / 3.596 GB, free: 53.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/7.766, allocations: 57.31 kB / 3.596 GB, free: 53.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/7.766, allocations: 0.5625 kB / 3.596 GB, free: 53.77 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/7.766, allocations: 10.31 kB / 3.596 GB, free: 53.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/7.766, allocations: 0 / 3.596 GB, free: 53.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/7.766, allocations: 0 / 3.596 GB, free: 53.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007245/7.767, allocations: 0.6308 MB / 3.597 GB, free: 53.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/7.767, allocations: 201.2 kB / 3.597 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/7.767, allocations: 6.656 kB / 3.597 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/7.768, allocations: 28.22 kB / 3.597 GB, free: 53.44 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/7.768, allocations: 21.45 kB / 3.597 GB, free: 53.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/7.768, allocations: 14.03 kB / 3.597 GB, free: 53.44 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003315/7.768, allocations: 338.1 kB / 3.598 GB, free: 53.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/7.768, allocations: 0 / 3.598 GB, free: 53.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004174/7.772, allocations: 0.8698 MB / 3.599 GB, free: 53.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,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked 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.005646/7.778, allocations: 1.273 MB / 3.6 GB, free: 53.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000821/7.779, allocations: 360.8 kB / 3.6 GB, free: 53.24 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/7.779, allocations: 0 / 3.6 GB, free: 53.24 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003283/7.779, allocations: 262.3 kB / 3.6 GB, free: 53.24 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/7.78, allocations: 179.3 kB / 3.601 GB, free: 53.24 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/7.781, allocations: 1.26 MB / 3.602 GB, free: 52.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/7.782, allocations: 0.8764 MB / 3.603 GB, free: 51.92 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003218/7.782, allocations: 158.9 kB / 3.603 GB, free: 51.92 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/7.782, allocations: 32.44 kB / 3.603 GB, free: 51.92 MB / 0.5261 GB Notification: Performance of SimCode: time 4.51e-07/7.782, allocations: 0 / 3.603 GB, free: 51.92 MB / 0.5261 GB Notification: Performance of Templates: time 0.0457/7.828, allocations: 30.37 MB / 3.632 GB, free: 51.4 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/jenkins1/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