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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001025/0.00103, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001083/0.001083, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.7 MB / 247.5 MB, free: 9.504 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2016/0.2016, allocations: 46.18 MB / 345.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002747, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1136, allocations: 63.56 MB / 483.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03606/0.1497, allocations: 30.35 MB / 0.502 GB, free: 5.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.252/0.4017, allocations: 18.3 MB / 0.5199 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004813/0.4023, allocations: 10.75 kB / 0.5199 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007313/0.403, allocations: 186.7 kB / 0.5201 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008626/0.4039, allocations: 256.2 kB / 0.5203 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01686/0.4208, allocations: 4.892 MB / 0.5251 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001653/0.4224, allocations: 1.113 MB / 0.5262 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004999/0.423, allocations: 199.5 kB / 0.5264 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01166/0.4346, allocations: 5.385 MB / 0.5317 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005448/0.4352, allocations: 250.2 kB / 0.5319 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.431e-05/0.4353, allocations: 18.25 kB / 0.5319 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01171/0.447, allocations: 6.258 MB / 0.538 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.4472, allocations: 69.73 kB / 0.5381 GB, free: 7.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002929/0.4475, allocations: 200.1 kB / 0.5383 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004217/0.4517, allocations: 2.604 MB / 0.5408 GB, free: 5.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4517, allocations: 0 / 0.5408 GB, free: 5.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4517, allocations: 0 / 0.5408 GB, free: 5.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.4518, allocations: 0 / 0.5408 GB, free: 5.566 MB / 382.1 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.002275/0.454, allocations: 0.993 MB / 0.5418 GB, free: 4.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.4541, allocations: 9.094 kB / 0.5418 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.4558, allocations: 218.2 kB / 0.542 GB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.4562, allocations: 337.4 kB / 0.5423 GB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.4563, allocations: 20.62 kB / 0.5423 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.4563, allocations: 28.91 kB / 0.5424 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.4575, allocations: 0.5025 MB / 0.5429 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4575, allocations: 7.922 kB / 0.5429 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.4576, allocations: 13.47 kB / 0.5429 GB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.4576, allocations: 4.719 kB / 0.5429 GB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.4587, allocations: 439.5 kB / 0.5433 GB, free: 3.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003177/0.4619, allocations: 2.439 MB / 0.5457 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.4637, allocations: 355.9 kB / 0.546 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004426/0.4642, allocations: 114.8 kB / 0.5461 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05021/0.5144, allocations: 18.46 MB / 0.5642 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.02e-05/0.5145, allocations: 38.56 kB / 0.5642 GB, free: 14.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.545e-06/0.5145, allocations: 0 / 0.5642 GB, free: 14.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0022/0.5167, allocations: 0.579 MB / 0.5648 GB, free: 13.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.5168, allocations: 102.8 kB / 0.5649 GB, free: 13.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.5172, allocations: 324.4 kB / 0.5652 GB, free: 13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.5173, allocations: 33.7 kB / 0.5652 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.5175, allocations: 207.4 kB / 0.5654 GB, free: 12.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.898e-05/0.5175, allocations: 51.28 kB / 0.5655 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.5176, allocations: 25.72 kB / 0.5655 GB, free: 12.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.5177, allocations: 354.8 kB / 0.5658 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.5181, allocations: 95.92 kB / 0.5659 GB, free: 12.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.5185, allocations: 223.3 kB / 0.5661 GB, free: 11.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006946/0.5192, allocations: 321.3 kB / 0.5664 GB, free: 11.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.5192, allocations: 0 / 0.5664 GB, free: 11.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008704/0.5201, allocations: 361.1 kB / 0.5668 GB, free: 11.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.5201, allocations: 4 kB / 0.5668 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.5202, allocations: 4 kB / 0.5668 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.5202, allocations: 15.88 kB / 0.5668 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.5205, allocations: 71.89 kB / 0.5669 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.5205, allocations: 8 kB / 0.5669 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.5208, allocations: 51.86 kB / 0.5669 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.5209, allocations: 15.98 kB / 0.5669 GB, free: 11.07 MB / 414.1 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.0001985/0.5211, allocations: 153.7 kB / 0.5671 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.486e-05/0.5212, allocations: 31.62 kB / 0.5671 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.5228, allocations: 1.148 MB / 0.5682 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.5228, allocations: 19.91 kB / 0.5683 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.5228, allocations: 3.984 kB / 0.5683 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5228, allocations: 0 / 0.5683 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007621/0.5236, allocations: 0.6705 MB / 0.5689 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.5236, allocations: 0 / 0.5689 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.5239, allocations: 59.95 kB / 0.569 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.5239, allocations: 0 / 0.569 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.5239, allocations: 7.984 kB / 0.569 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.5239, allocations: 3.938 kB / 0.569 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5239, allocations: 0 / 0.569 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009477/0.5249, allocations: 0.6471 MB / 0.5696 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.5251, allocations: 200 kB / 0.5698 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.5252, allocations: 0 / 0.5698 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.5254, allocations: 35.77 kB / 0.5698 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.5255, allocations: 27.97 kB / 0.5699 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.5255, allocations: 7.984 kB / 0.5699 GB, free: 7.965 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000436/0.526, allocations: 338.9 kB / 0.5702 GB, free: 7.637 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.526, allocations: 0 / 0.5702 GB, free: 7.637 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002714/0.5287, allocations: 0.8473 MB / 0.571 GB, free: 6.789 MB / 414.1 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.004697/0.5334, allocations: 1.003 MB / 0.572 GB, free: 5.855 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00092/0.5344, allocations: 369.2 kB / 0.5724 GB, free: 5.496 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5344, allocations: 7.938 kB / 0.5724 GB, free: 5.488 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004325/0.5348, allocations: 270.7 kB / 0.5726 GB, free: 5.227 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.536, allocations: 175.2 kB / 0.5728 GB, free: 5.062 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.5379, allocations: 1.318 MB / 0.5741 GB, free: 3.707 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.5383, allocations: 0.8759 MB / 0.5749 GB, free: 2.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.97e-05/0.5384, allocations: 39.44 kB / 0.575 GB, free: 2.766 MB / 414.1 MB Notification: Performance of SimCode: time 1.764e-06/0.5385, allocations: 0 / 0.575 GB, free: 2.766 MB / 414.1 MB Notification: Performance of Templates: time 0.03165/0.5701, allocations: 20.51 MB / 0.595 GB, free: 14.29 MB / 446.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches