Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009425/0.0009425, allocations: 174.2 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.7 MB / 243.9 MB, free: 8.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008203/0.0008204, allocations: 92.98 kB / 295.1 MB, free: 9.488 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3223/0.3223, allocations: 44.32 MB / 390.5 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.000328, allocations: 11.94 kB / 463.2 MB, free: 456 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3438, allocations: 61.9 MB / 0.5127 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02376/0.3676, allocations: 34.39 MB / 0.5463 GB, free: 11.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0194/0.387, allocations: 25.46 MB / 0.5712 GB, free: 5.246 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000448/0.3875, allocations: 13.34 kB / 0.5712 GB, free: 5.238 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006336/0.3882, allocations: 187 kB / 0.5714 GB, free: 5.137 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005253/0.3887, allocations: 259.1 kB / 0.5716 GB, free: 4.98 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01744/0.4062, allocations: 4.881 MB / 0.5764 GB, free: 2.66 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001734/0.4079, allocations: 1.112 MB / 0.5775 GB, free: 2.254 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005287/0.4085, allocations: 199.8 kB / 0.5777 GB, free: 2.176 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01539/0.4239, allocations: 5.388 MB / 0.5829 GB, free: 15.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006496/0.4246, allocations: 241.5 kB / 0.5832 GB, free: 15.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.661e-05/0.4247, allocations: 14.16 kB / 0.5832 GB, free: 15.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01421/0.4389, allocations: 6.03 MB / 0.5891 GB, free: 12.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.4391, allocations: 71.73 kB / 0.5891 GB, free: 12.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003906/0.4395, allocations: 200.8 kB / 0.5893 GB, free: 12.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.4504, allocations: 3.816 MB / 0.5931 GB, free: 8.324 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4505, allocations: 4 kB / 0.5931 GB, free: 8.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4505, allocations: 0 / 0.5931 GB, free: 8.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.4505, allocations: 4 kB / 0.5931 GB, free: 8.316 MB / 410.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.002636/0.4532, allocations: 0.9796 MB / 0.594 GB, free: 7.289 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.4532, allocations: 8.031 kB / 0.594 GB, free: 7.281 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001517/0.4547, allocations: 192.4 kB / 0.5942 GB, free: 7.094 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/0.4552, allocations: 338.5 kB / 0.5945 GB, free: 6.723 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.4553, allocations: 20.94 kB / 0.5946 GB, free: 6.703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.4553, allocations: 28.38 kB / 0.5946 GB, free: 6.676 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.4566, allocations: 0.4988 MB / 0.5951 GB, free: 6.137 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.4566, allocations: 3.984 kB / 0.5951 GB, free: 6.133 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.86e-05/0.4567, allocations: 20 kB / 0.5951 GB, free: 6.113 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.4567, allocations: 8 kB / 0.5951 GB, free: 6.105 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.4578, allocations: 433.2 kB / 0.5955 GB, free: 5.684 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003038/0.4609, allocations: 2.438 MB / 0.5979 GB, free: 3.031 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.462, allocations: 358.3 kB / 0.5982 GB, free: 2.672 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.4623, allocations: 113.1 kB / 0.5983 GB, free: 2.559 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02957/0.4918, allocations: 16.61 MB / 0.6146 GB, free: 15.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.192e-05/0.4919, allocations: 50.42 kB / 0.6146 GB, free: 15.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 2.535e-06/0.4919, allocations: 4 kB / 0.6146 GB, free: 15.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.002021/0.494, allocations: 0.5594 MB / 0.6152 GB, free: 15.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.4941, allocations: 106.8 kB / 0.6153 GB, free: 15.19 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003781/0.4944, allocations: 320.4 kB / 0.6156 GB, free: 14.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.4945, allocations: 29.7 kB / 0.6156 GB, free: 14.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.4946, allocations: 207.7 kB / 0.6158 GB, free: 14.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.4947, allocations: 63.12 kB / 0.6159 GB, free: 14.56 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/0.4947, allocations: 4 kB / 0.6159 GB, free: 14.56 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4949, allocations: 342.8 kB / 0.6162 GB, free: 14.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.4952, allocations: 103.9 kB / 0.6163 GB, free: 14.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/0.4955, allocations: 226.6 kB / 0.6165 GB, free: 13.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000585/0.4961, allocations: 307.6 kB / 0.6168 GB, free: 13.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.4961, allocations: 4 kB / 0.6168 GB, free: 13.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007659/0.4969, allocations: 365.3 kB / 0.6172 GB, free: 13.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.4969, allocations: 4 kB / 0.6172 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.497, allocations: 4 kB / 0.6172 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.497, allocations: 7.938 kB / 0.6172 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.4973, allocations: 80.36 kB / 0.6172 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.4973, allocations: 4 kB / 0.6173 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.4976, allocations: 47.67 kB / 0.6173 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.4976, allocations: 19.98 kB / 0.6173 GB, free: 12.96 MB / 442.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_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 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.0001795/0.4978, allocations: 158.2 kB / 0.6175 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-05/0.4979, allocations: 35.61 kB / 0.6175 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.4993, allocations: 1.129 MB / 0.6186 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.4994, allocations: 15.97 kB / 0.6186 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.4994, allocations: 7.984 kB / 0.6186 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4994, allocations: 0 / 0.6186 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007172/0.5002, allocations: 0.6677 MB / 0.6193 GB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.5002, allocations: 0 / 0.6193 GB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.5004, allocations: 55.89 kB / 0.6193 GB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.5004, allocations: 4 kB / 0.6193 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.5004, allocations: 11.94 kB / 0.6193 GB, free: 10.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.5004, allocations: 3.984 kB / 0.6193 GB, free: 10.81 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5005, allocations: 0 / 0.6193 GB, free: 10.81 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008531/0.5013, allocations: 0.6349 MB / 0.62 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.5015, allocations: 203.8 kB / 0.6202 GB, free: 9.938 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.5016, allocations: 7.938 kB / 0.6202 GB, free: 9.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.5018, allocations: 27.98 kB / 0.6202 GB, free: 9.902 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.095e-05/0.5019, allocations: 19.97 kB / 0.6202 GB, free: 9.883 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.5019, allocations: 7.984 kB / 0.6202 GB, free: 9.875 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004169/0.5024, allocations: 338.9 kB / 0.6205 GB, free: 9.543 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5024, allocations: 0 / 0.6205 GB, free: 9.543 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003364/0.5057, allocations: 0.8472 MB / 0.6214 GB, free: 8.695 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.005528/0.5113, allocations: 1.016 MB / 0.6224 GB, free: 7.684 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009203/0.5122, allocations: 381 kB / 0.6227 GB, free: 7.312 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.5122, allocations: 0 / 0.6227 GB, free: 7.312 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004011/0.5127, allocations: 268.5 kB / 0.623 GB, free: 7.047 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.5137, allocations: 172.1 kB / 0.6232 GB, free: 6.883 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.5154, allocations: 1.274 MB / 0.6244 GB, free: 5.578 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.5159, allocations: 0.8797 MB / 0.6253 GB, free: 4.676 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004088/0.5163, allocations: 185.1 kB / 0.6254 GB, free: 4.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.226e-05/0.5164, allocations: 39.42 kB / 0.6255 GB, free: 4.461 MB / 442.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5164, allocations: 0 / 0.6255 GB, free: 4.461 MB / 442.7 MB Notification: Performance of Templates: time 0.04379/0.5602, allocations: 34.12 MB / 0.6588 GB, free: 2.379 MB / 474.7 MB 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