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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001217/0.001218, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.001061, allocations: 106.8 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.397/0.397, allocations: 44.84 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 67.89 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3936, allocations: 62.02 MB / 0.5152 GB, free: 37.7 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02641/0.4201, allocations: 30.99 MB / 0.5454 GB, free: 15.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01971/0.4399, allocations: 18.59 MB / 0.5636 GB, free: 2.914 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005719/0.4405, allocations: 14.5 kB / 0.5636 GB, free: 2.906 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009095/0.4415, allocations: 196.3 kB / 0.5638 GB, free: 2.793 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008897/0.4424, allocations: 252.3 kB / 0.564 GB, free: 2.645 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0194/0.4618, allocations: 4.884 MB / 0.5688 GB, free: 15.47 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001944/0.4638, allocations: 1.118 MB / 0.5699 GB, free: 14.86 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005574/0.4643, allocations: 223.1 kB / 0.5701 GB, free: 14.71 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01557/0.4799, allocations: 5.379 MB / 0.5754 GB, free: 11.34 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006232/0.4806, allocations: 241.7 kB / 0.5756 GB, free: 11.21 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.4807, allocations: 15.56 kB / 0.5756 GB, free: 11.21 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01387/0.4946, allocations: 6.263 MB / 0.5817 GB, free: 5.277 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.4949, allocations: 87.59 kB / 0.5818 GB, free: 5.191 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004118/0.4953, allocations: 175.2 kB / 0.582 GB, free: 5.02 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009598/0.5049, allocations: 3.848 MB / 0.5857 GB, free: 1.164 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.505, allocations: 0 / 0.5857 GB, free: 1.164 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.505, allocations: 0 / 0.5857 GB, free: 1.164 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.505, allocations: 0 / 0.5857 GB, free: 1.164 MB / 394.7 MB 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.002579/0.5076, allocations: 1.045 MB / 0.5867 GB, free: 72 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.5077, allocations: 12.03 kB / 0.5868 GB, free: 60 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.5094, allocations: 204.3 kB / 0.5869 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/0.5099, allocations: 326.7 kB / 0.5873 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.5099, allocations: 20.94 kB / 0.5873 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.51, allocations: 24.38 kB / 0.5873 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.5112, allocations: 494.8 kB / 0.5878 GB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.5113, allocations: 4 kB / 0.5878 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.606e-05/0.5113, allocations: 12 kB / 0.5878 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.5113, allocations: 4 kB / 0.5878 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.5125, allocations: 413.2 kB / 0.5882 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003272/0.5158, allocations: 2.438 MB / 0.5906 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.517, allocations: 326.3 kB / 0.5909 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.5173, allocations: 112.8 kB / 0.591 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03408/0.5514, allocations: 18.31 MB / 0.6089 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.546e-05/0.5515, allocations: 42.5 kB / 0.6089 GB, free: 6.691 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.976e-06/0.5515, allocations: 0 / 0.6089 GB, free: 6.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.002088/0.5536, allocations: 0.5205 MB / 0.6094 GB, free: 6.164 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.5537, allocations: 106.8 kB / 0.6095 GB, free: 6.035 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/0.5541, allocations: 320.5 kB / 0.6098 GB, free: 5.715 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.5541, allocations: 29.7 kB / 0.6099 GB, free: 5.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.5543, allocations: 207.6 kB / 0.61 GB, free: 5.473 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.5543, allocations: 55.28 kB / 0.6101 GB, free: 5.418 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.475e-05/0.5544, allocations: 61.69 kB / 0.6102 GB, free: 5.352 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.5546, allocations: 338.8 kB / 0.6105 GB, free: 5.012 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/0.5549, allocations: 91.92 kB / 0.6106 GB, free: 4.922 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003568/0.5552, allocations: 211.3 kB / 0.6108 GB, free: 4.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005987/0.5558, allocations: 295.2 kB / 0.6111 GB, free: 4.324 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.5558, allocations: 0 / 0.6111 GB, free: 4.324 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007591/0.5566, allocations: 350.9 kB / 0.6114 GB, free: 3.977 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.5566, allocations: 4 kB / 0.6114 GB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.5567, allocations: 4 kB / 0.6114 GB, free: 3.969 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.5567, allocations: 11.94 kB / 0.6114 GB, free: 3.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.557, allocations: 72.36 kB / 0.6115 GB, free: 3.887 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.557, allocations: 7.938 kB / 0.6115 GB, free: 3.879 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.5573, allocations: 51.56 kB / 0.6115 GB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.5573, allocations: 16 kB / 0.6115 GB, free: 3.812 MB / 426.7 MB 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_2.medium.phase,boundary_prescriberho_1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002077/0.5575, allocations: 158.6 kB / 0.6117 GB, free: 3.648 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.483e-05/0.5576, allocations: 27.72 kB / 0.6117 GB, free: 3.621 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.5593, allocations: 1.109 MB / 0.6128 GB, free: 2.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-05/0.5593, allocations: 15.97 kB / 0.6128 GB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.5593, allocations: 0 / 0.6128 GB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.5593, allocations: 4 kB / 0.6128 GB, free: 2.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009526/0.5603, allocations: 0.6716 MB / 0.6135 GB, free: 1.762 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.5603, allocations: 0 / 0.6135 GB, free: 1.762 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.5606, allocations: 47.89 kB / 0.6135 GB, free: 1.715 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.5606, allocations: 0 / 0.6135 GB, free: 1.715 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.5606, allocations: 15.92 kB / 0.6135 GB, free: 1.699 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.5606, allocations: 0 / 0.6135 GB, free: 1.699 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5606, allocations: 0 / 0.6135 GB, free: 1.699 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.5627, allocations: 1.519 MB / 0.615 GB, free: 120 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.5629, allocations: 132.3 kB / 0.6152 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.542e-05/0.563, allocations: 31.69 kB / 0.6152 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.5632, allocations: 15.94 kB / 0.6152 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.5633, allocations: 23.95 kB / 0.6152 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.5633, allocations: 8 kB / 0.6152 GB, free: 15.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004081/0.5637, allocations: 342.9 kB / 0.6156 GB, free: 15.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5637, allocations: 0 / 0.6156 GB, free: 15.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003068/0.5668, allocations: 0.8627 MB / 0.6164 GB, free: 14.69 MB / 442.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00389/0.5707, allocations: 1.021 MB / 0.6174 GB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009519/0.5717, allocations: 349.2 kB / 0.6177 GB, free: 13.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.5717, allocations: 0 / 0.6177 GB, free: 13.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003988/0.5721, allocations: 262.2 kB / 0.618 GB, free: 13.08 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.5734, allocations: 186.6 kB / 0.6182 GB, free: 12.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.5754, allocations: 1.607 MB / 0.6197 GB, free: 11.26 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/0.5759, allocations: 0.8992 MB / 0.6206 GB, free: 10.33 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004164/0.5763, allocations: 179.7 kB / 0.6208 GB, free: 10.15 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.622e-05/0.5764, allocations: 35.42 kB / 0.6208 GB, free: 10.12 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5764, allocations: 0 / 0.6208 GB, free: 10.12 MB / 442.7 MB Notification: Performance of Templates: time 0.05956/0.636, allocations: 34.44 MB / 0.6544 GB, free: 7.723 MB / 474.7 MB 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@2/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