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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 104.9 kB / 17.78 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001233, allocations: 184.8 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2234/0.2234, allocations: 44.18 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.91 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4727/0.474, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03127/0.5053, allocations: 30.08 MB / 0.5483 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02755/0.5329, allocations: 17.6 MB / 0.5655 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007444/0.5337, allocations: 11.94 kB / 0.5655 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001301/0.535, allocations: 218.5 kB / 0.5657 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.5369, allocations: 282.4 kB / 0.566 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02756/0.5645, allocations: 6.038 MB / 0.5718 GB, free: 5.742 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001763/0.5663, allocations: 0.8342 MB / 0.5727 GB, free: 4.906 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000678/0.567, allocations: 236.8 kB / 0.5729 GB, free: 4.672 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01596/0.583, allocations: 5.466 MB / 0.5782 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005091/0.5835, allocations: 243 kB / 0.5785 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.119e-05/0.5836, allocations: 28 kB / 0.5785 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01352/0.5971, allocations: 6.31 MB / 0.5846 GB, free: 8.543 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.5974, allocations: 95.67 kB / 0.5847 GB, free: 8.449 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003749/0.5978, allocations: 191.1 kB / 0.5849 GB, free: 8.262 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01295/0.6107, allocations: 3.836 MB / 0.5887 GB, free: 4.418 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.6108, allocations: 0 / 0.5887 GB, free: 4.418 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.6108, allocations: 0 / 0.5887 GB, free: 4.418 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.6108, allocations: 3.938 kB / 0.5887 GB, free: 4.414 MB / 446.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.003556/0.6144, allocations: 1.041 MB / 0.5897 GB, free: 3.324 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.6144, allocations: 15.97 kB / 0.5897 GB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/0.6163, allocations: 192.3 kB / 0.5899 GB, free: 3.121 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007352/0.617, allocations: 346.6 kB / 0.5902 GB, free: 2.742 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.607e-05/0.6171, allocations: 20.94 kB / 0.5902 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/0.6172, allocations: 24.38 kB / 0.5903 GB, free: 2.699 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.6186, allocations: 494.8 kB / 0.5907 GB, free: 2.176 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.6186, allocations: 0 / 0.5907 GB, free: 2.176 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.492e-05/0.6186, allocations: 19.98 kB / 0.5907 GB, free: 2.156 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.6187, allocations: 8 kB / 0.5908 GB, free: 2.148 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.6201, allocations: 409.2 kB / 0.5911 GB, free: 1.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003599/0.6237, allocations: 2.419 MB / 0.5935 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.625, allocations: 346.1 kB / 0.5938 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/0.6253, allocations: 104.8 kB / 0.5939 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03508/0.6604, allocations: 16.53 MB / 0.6101 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.6605, allocations: 34.56 kB / 0.6101 GB, free: 12.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.224e-06/0.6605, allocations: 0 / 0.6101 GB, free: 12.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002343/0.6629, allocations: 0.5353 MB / 0.6106 GB, free: 11.55 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/0.6629, allocations: 102.8 kB / 0.6107 GB, free: 11.43 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/0.6634, allocations: 320.4 kB / 0.611 GB, free: 11.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.6635, allocations: 33.69 kB / 0.6111 GB, free: 11.06 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.6636, allocations: 211.6 kB / 0.6113 GB, free: 10.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.6637, allocations: 51.34 kB / 0.6113 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.6638, allocations: 57.69 kB / 0.6114 GB, free: 10.73 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.664, allocations: 338.8 kB / 0.6117 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.6643, allocations: 91.92 kB / 0.6118 GB, free: 10.3 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.6647, allocations: 211.4 kB / 0.612 GB, free: 10.04 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006593/0.6654, allocations: 293.4 kB / 0.6123 GB, free: 9.703 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6654, allocations: 0 / 0.6123 GB, free: 9.703 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008473/0.6662, allocations: 340.8 kB / 0.6126 GB, free: 9.363 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.6663, allocations: 8 kB / 0.6126 GB, free: 9.355 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.6663, allocations: 4 kB / 0.6126 GB, free: 9.352 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.6663, allocations: 8.406 kB / 0.6126 GB, free: 9.344 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.6666, allocations: 75.89 kB / 0.6127 GB, free: 9.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.6667, allocations: 7.938 kB / 0.6127 GB, free: 9.262 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.6669, allocations: 47.56 kB / 0.6127 GB, free: 9.215 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.667, allocations: 16 kB / 0.6128 GB, free: 9.199 MB / 478.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.0001976/0.6672, allocations: 157.7 kB / 0.6129 GB, free: 9.035 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.455e-05/0.6673, allocations: 23.72 kB / 0.6129 GB, free: 9.012 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.6688, allocations: 1.101 MB / 0.614 GB, free: 7.906 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.6688, allocations: 19.91 kB / 0.614 GB, free: 7.887 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.6689, allocations: 3.938 kB / 0.614 GB, free: 7.883 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.6689, allocations: 4 kB / 0.614 GB, free: 7.879 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007483/0.6696, allocations: 0.6715 MB / 0.6147 GB, free: 7.156 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.351e-06/0.6696, allocations: 0 / 0.6147 GB, free: 7.156 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.6699, allocations: 47.95 kB / 0.6147 GB, free: 7.109 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.6699, allocations: 3.984 kB / 0.6147 GB, free: 7.105 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.6699, allocations: 11.94 kB / 0.6147 GB, free: 7.094 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.6699, allocations: 4 kB / 0.6148 GB, free: 7.09 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6699, allocations: 0 / 0.6148 GB, free: 7.09 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009316/0.6709, allocations: 0.6193 MB / 0.6154 GB, free: 6.449 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.671, allocations: 120.4 kB / 0.6155 GB, free: 6.312 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.654e-05/0.6711, allocations: 31.62 kB / 0.6155 GB, free: 6.281 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.6714, allocations: 23.97 kB / 0.6155 GB, free: 6.258 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/0.6714, allocations: 15.94 kB / 0.6155 GB, free: 6.242 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.6715, allocations: 15.98 kB / 0.6156 GB, free: 6.227 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003971/0.6719, allocations: 338.9 kB / 0.6159 GB, free: 5.895 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6719, allocations: 0 / 0.6159 GB, free: 5.895 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002765/0.6747, allocations: 0.851 MB / 0.6167 GB, free: 5.043 MB / 478.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.004855/0.6795, allocations: 0.9857 MB / 0.6177 GB, free: 4.055 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008692/0.6804, allocations: 355.5 kB / 0.618 GB, free: 3.711 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.6804, allocations: 0 / 0.618 GB, free: 3.711 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004045/0.6808, allocations: 265.4 kB / 0.6183 GB, free: 3.453 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.6819, allocations: 192.6 kB / 0.6184 GB, free: 3.273 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.6837, allocations: 1.02 MB / 0.6194 GB, free: 2.227 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/0.6842, allocations: 0.8796 MB / 0.6203 GB, free: 1.324 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004047/0.6847, allocations: 182.2 kB / 0.6205 GB, free: 1.148 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.434e-05/0.6848, allocations: 35.42 kB / 0.6205 GB, free: 1.113 MB / 478.1 MB Notification: Performance of SimCode: time 4.51e-07/0.6848, allocations: 4 kB / 0.6205 GB, free: 1.109 MB / 478.1 MB Notification: Performance of Templates: time 0.05454/0.7393, allocations: 34.6 MB / 0.6543 GB, free: 14.55 MB / 0.5137 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches