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.001715/0.001715, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.001029/0.00103, allocations: 99.42 kB / 281.6 MB, free: 5.324 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.2306/0.2306, allocations: 44.16 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.91e-05/1.924e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1316, allocations: 61.92 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.392/7.524, allocations: 2.759 GB / 3.254 GB, free: 115 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/7.524, allocations: 83.3 kB / 3.254 GB, free: 115 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.069/8.593, allocations: 313 MB / 3.559 GB, free: 58.49 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.613e-06/8.593, allocations: 3.938 kB / 3.559 GB, free: 58.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.884e-05/8.593, allocations: 8 kB / 3.559 GB, free: 58.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.005417/8.599, allocations: 1.319 MB / 3.561 GB, free: 57.12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/8.599, allocations: 11.98 kB / 3.561 GB, free: 57.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/8.6, allocations: 204.1 kB / 3.561 GB, free: 56.91 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006272/8.601, allocations: 337.1 kB / 3.561 GB, free: 56.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/8.601, allocations: 12 kB / 3.561 GB, free: 56.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/8.601, allocations: 12 kB / 3.561 GB, free: 56.51 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004108/8.602, allocations: 233 kB / 3.562 GB, free: 56.29 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004679/8.602, allocations: 322 kB / 3.562 GB, free: 55.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/8.602, allocations: 0 / 3.562 GB, free: 55.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/8.602, allocations: 4 kB / 3.562 GB, free: 55.93 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/8.602, allocations: 4 kB / 3.562 GB, free: 55.92 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00271/8.605, allocations: 2.34 MB / 3.564 GB, free: 53.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/8.605, allocations: 154.2 kB / 3.564 GB, free: 53.23 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.229e-05/8.605, allocations: 56.86 kB / 3.564 GB, free: 53.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02977/8.635, allocations: 16.47 MB / 3.58 GB, free: 34.72 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/8.635, allocations: 30.56 kB / 3.58 GB, free: 34.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 3.116e-06/8.635, allocations: 0 / 3.58 GB, free: 34.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.001258/8.636, allocations: 313.4 kB / 3.581 GB, free: 34.37 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/8.637, allocations: 106.8 kB / 3.581 GB, free: 34.24 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/8.637, allocations: 222.2 kB / 3.581 GB, free: 34.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/8.637, allocations: 29.7 kB / 3.581 GB, free: 33.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/8.637, allocations: 203.7 kB / 3.581 GB, free: 33.78 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/8.637, allocations: 55.2 kB / 3.581 GB, free: 33.72 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/8.637, allocations: 4 kB / 3.581 GB, free: 33.72 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.853e-05/8.637, allocations: 338.8 kB / 3.582 GB, free: 33.38 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.147e-05/8.637, allocations: 40 kB / 3.582 GB, free: 33.34 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/8.637, allocations: 173.9 kB / 3.582 GB, free: 33.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/8.638, allocations: 85.75 kB / 3.582 GB, free: 33.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/8.638, allocations: 4 kB / 3.582 GB, free: 33.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005434/8.638, allocations: 245.1 kB / 3.582 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/8.638, allocations: 8 kB / 3.582 GB, free: 32.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/8.638, allocations: 7.984 kB / 3.582 GB, free: 32.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/8.638, allocations: 7.938 kB / 3.582 GB, free: 32.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/8.639, allocations: 76.33 kB / 3.582 GB, free: 32.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/8.639, allocations: 15.89 kB / 3.582 GB, free: 32.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/8.639, allocations: 43.73 kB / 3.582 GB, free: 32.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/8.639, allocations: 11.98 kB / 3.582 GB, free: 32.62 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 9.75e-05/8.639, allocations: 116.9 kB / 3.582 GB, free: 32.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-05/8.639, allocations: 31.72 kB / 3.582 GB, free: 32.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009857/8.64, allocations: 1.048 MB / 3.583 GB, free: 31.41 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/8.64, allocations: 15.97 kB / 3.583 GB, free: 31.39 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/8.64, allocations: 0 / 3.583 GB, free: 31.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/8.64, allocations: 7.984 kB / 3.584 GB, free: 31.38 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006104/8.641, allocations: 0.5903 MB / 3.584 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/8.641, allocations: 4 kB / 3.584 GB, free: 30.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/8.641, allocations: 63.88 kB / 3.584 GB, free: 30.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/8.641, allocations: 0 / 3.584 GB, free: 30.69 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/8.641, allocations: 0 / 3.584 GB, free: 30.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/8.641, allocations: 4 kB / 3.584 GB, free: 30.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/8.641, allocations: 3.953 kB / 3.584 GB, free: 30.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005747/8.642, allocations: 0.5437 MB / 3.585 GB, free: 30.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/8.642, allocations: 192 kB / 3.585 GB, free: 29.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/8.642, allocations: 7.953 kB / 3.585 GB, free: 29.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/8.642, allocations: 23.97 kB / 3.585 GB, free: 29.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/8.642, allocations: 23.97 kB / 3.585 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/8.642, allocations: 4 kB / 3.585 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002483/8.643, allocations: 279 kB / 3.585 GB, free: 29.58 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.253e-06/8.643, allocations: 0 / 3.585 GB, free: 29.58 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004646/8.647, allocations: 0.8701 MB / 3.586 GB, free: 28.71 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 () * 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.007943/8.655, allocations: 1.362 MB / 3.587 GB, free: 27.44 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005854/8.656, allocations: 265.2 kB / 3.588 GB, free: 27.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/8.656, allocations: 0 / 3.588 GB, free: 27.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/8.656, allocations: 220.7 kB / 3.588 GB, free: 26.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009474/8.657, allocations: 137.8 kB / 3.588 GB, free: 26.84 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/8.658, allocations: 0.6889 MB / 3.589 GB, free: 26.12 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/8.659, allocations: 0.8872 MB / 3.59 GB, free: 25.21 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000407/8.659, allocations: 153.1 kB / 3.59 GB, free: 25.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.367e-05/8.659, allocations: 27.44 kB / 3.59 GB, free: 25.04 MB / 0.5261 GB Notification: Performance of SimCode: time 7.62e-07/8.659, allocations: 0 / 3.59 GB, free: 25.04 MB / 0.5261 GB Notification: Performance of Templates: time 0.04149/8.701, allocations: 24.33 MB / 3.613 GB, free: 0.7656 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