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.001167/0.001167, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 227.4 MB / 247.1 MB, free: 9.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1922/0.1922, allocations: 46.1 MB / 344.4 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 76.44 kB / 417.7 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1082, allocations: 62.45 MB / 480.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02735/0.1356, allocations: 30.32 MB / 0.4985 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2872/0.4228, allocations: 17.65 MB / 0.5158 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005492/0.4234, allocations: 12.56 kB / 0.5158 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009427/0.4244, allocations: 193.9 kB / 0.5159 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009385/0.4253, allocations: 250.1 kB / 0.5162 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02358/0.4489, allocations: 5.363 MB / 0.5214 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001184/0.4501, allocations: 0.8409 MB / 0.5222 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003889/0.4505, allocations: 233.3 kB / 0.5225 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01027/0.4608, allocations: 5.433 MB / 0.5278 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005141/0.4614, allocations: 259.8 kB / 0.528 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.472e-05/0.4614, allocations: 30.84 kB / 0.528 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01183/0.4733, allocations: 6.246 MB / 0.5341 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.4735, allocations: 94.91 kB / 0.5342 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003342/0.4738, allocations: 189.5 kB / 0.5344 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004949/0.4788, allocations: 2.639 MB / 0.537 GB, free: 5.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4788, allocations: 0 / 0.537 GB, free: 5.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4788, allocations: 0 / 0.537 GB, free: 5.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.4789, allocations: 3.984 kB / 0.537 GB, free: 5.359 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.002366/0.4812, allocations: 1.053 MB / 0.538 GB, free: 4.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.4813, allocations: 8.688 kB / 0.538 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.4829, allocations: 204.4 kB / 0.5382 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.4832, allocations: 334.4 kB / 0.5386 GB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.4833, allocations: 24.44 kB / 0.5386 GB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.4833, allocations: 29.66 kB / 0.5386 GB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.4845, allocations: 494.7 kB / 0.5391 GB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.4845, allocations: 0 / 0.5391 GB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.4845, allocations: 11.97 kB / 0.5391 GB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.4845, allocations: 6.938 kB / 0.5391 GB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.4856, allocations: 418.2 kB / 0.5395 GB, free: 3.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002511/0.4881, allocations: 2.427 MB / 0.5419 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.4892, allocations: 328.2 kB / 0.5422 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.4895, allocations: 112.9 kB / 0.5423 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03176/0.5213, allocations: 18.31 MB / 0.5602 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.5213, allocations: 34.56 kB / 0.5602 GB, free: 13.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.294e-06/0.5214, allocations: 0 / 0.5602 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002089/0.5235, allocations: 0.5272 MB / 0.5607 GB, free: 13.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.5235, allocations: 106.8 kB / 0.5608 GB, free: 13.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.5239, allocations: 330.2 kB / 0.5611 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.524, allocations: 33.7 kB / 0.5612 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.5241, allocations: 207.5 kB / 0.5614 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.5242, allocations: 51.3 kB / 0.5614 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.82e-05/0.5243, allocations: 61.61 kB / 0.5615 GB, free: 12.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.5244, allocations: 338.8 kB / 0.5618 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.5247, allocations: 99.92 kB / 0.5619 GB, free: 12.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/0.5251, allocations: 203.4 kB / 0.5621 GB, free: 11.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000602/0.5257, allocations: 293.4 kB / 0.5624 GB, free: 11.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.5257, allocations: 4 kB / 0.5624 GB, free: 11.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000789/0.5265, allocations: 336.8 kB / 0.5627 GB, free: 11.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.5265, allocations: 8.469 kB / 0.5627 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.5265, allocations: 8 kB / 0.5627 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.5266, allocations: 7.938 kB / 0.5627 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.5268, allocations: 71.89 kB / 0.5628 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.5269, allocations: 7.938 kB / 0.5628 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.5272, allocations: 43.67 kB / 0.5628 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.5272, allocations: 19.98 kB / 0.5628 GB, free: 11.01 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.0001613/0.5274, allocations: 153.8 kB / 0.563 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.552e-05/0.5275, allocations: 27.62 kB / 0.563 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.5289, allocations: 1.113 MB / 0.5641 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/0.5289, allocations: 23.91 kB / 0.5641 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.5289, allocations: 0 / 0.5641 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5289, allocations: 0 / 0.5641 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006644/0.5296, allocations: 0.6627 MB / 0.5648 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.5296, allocations: 4 kB / 0.5648 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.5298, allocations: 47.89 kB / 0.5648 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.5298, allocations: 3.938 kB / 0.5648 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.5299, allocations: 7.984 kB / 0.5648 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.5299, allocations: 11.92 kB / 0.5648 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5299, allocations: 4 kB / 0.5648 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008361/0.5307, allocations: 0.6121 MB / 0.5654 GB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.5308, allocations: 128.3 kB / 0.5656 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.558e-05/0.5309, allocations: 31.69 kB / 0.5656 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.5312, allocations: 31.84 kB / 0.5656 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.387e-05/0.5313, allocations: 15.97 kB / 0.5656 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.5313, allocations: 16 kB / 0.5657 GB, free: 8.031 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003425/0.5316, allocations: 338.9 kB / 0.566 GB, free: 7.703 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5316, allocations: 0 / 0.566 GB, free: 7.703 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002568/0.5342, allocations: 0.8549 MB / 0.5668 GB, free: 6.848 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.004597/0.5388, allocations: 1.003 MB / 0.5678 GB, free: 5.918 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008691/0.5397, allocations: 357.2 kB / 0.5681 GB, free: 5.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5397, allocations: 7.875 kB / 0.5681 GB, free: 5.562 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003868/0.5401, allocations: 264.5 kB / 0.5684 GB, free: 5.305 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.5412, allocations: 185 kB / 0.5686 GB, free: 5.137 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.5428, allocations: 1.273 MB / 0.5698 GB, free: 3.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.5432, allocations: 0.8875 MB / 0.5707 GB, free: 2.926 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.231e-05/0.5433, allocations: 31.44 kB / 0.5707 GB, free: 2.895 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.5434, allocations: 0 / 0.5707 GB, free: 2.895 MB / 414.1 MB Notification: Performance of Templates: time 0.03019/0.5736, allocations: 20.57 MB / 0.5908 GB, free: 14.35 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