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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001296/0.001296, allocations: 179.1 kB / 18.71 MB, free: 4.363 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.396/1.396, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2117/0.2117, allocations: 44.18 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 63.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3441, allocations: 60.83 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03471/0.3789, allocations: 30.07 MB / 0.5478 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02193/0.4009, allocations: 17.59 MB / 0.565 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004352/0.4013, allocations: 11.94 kB / 0.565 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007062/0.4021, allocations: 222.6 kB / 0.5652 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006409/0.4027, allocations: 262.3 kB / 0.5654 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01752/0.4203, allocations: 6.05 MB / 0.5714 GB, free: 5.777 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001303/0.4216, allocations: 0.8343 MB / 0.5722 GB, free: 4.941 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004162/0.422, allocations: 248.7 kB / 0.5724 GB, free: 4.695 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01363/0.4357, allocations: 5.446 MB / 0.5777 GB, free: 15.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004933/0.4362, allocations: 243 kB / 0.578 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.351e-05/0.4363, allocations: 32 kB / 0.578 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01381/0.4501, allocations: 6.306 MB / 0.5841 GB, free: 8.586 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002855/0.4505, allocations: 87.73 kB / 0.5842 GB, free: 8.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004266/0.4509, allocations: 199.1 kB / 0.5844 GB, free: 8.305 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01239/0.4633, allocations: 3.847 MB / 0.5882 GB, free: 4.449 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4633, allocations: 7.938 kB / 0.5882 GB, free: 4.441 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4633, allocations: 0 / 0.5882 GB, free: 4.441 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.4634, allocations: 0 / 0.5882 GB, free: 4.441 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.002892/0.4663, allocations: 1.069 MB / 0.5892 GB, free: 3.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4663, allocations: 8.031 kB / 0.5892 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.212e-05/0.4664, allocations: 66.72 kB / 0.5893 GB, free: 3.238 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.468, allocations: 196.5 kB / 0.5895 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005942/0.4686, allocations: 346.7 kB / 0.5898 GB, free: 2.668 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.4687, allocations: 28.94 kB / 0.5898 GB, free: 2.641 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.4687, allocations: 28.12 kB / 0.5899 GB, free: 2.613 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.47, allocations: 482.9 kB / 0.5903 GB, free: 2.102 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.47, allocations: 4 kB / 0.5903 GB, free: 2.098 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.47, allocations: 12 kB / 0.5903 GB, free: 2.086 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.4701, allocations: 7.938 kB / 0.5904 GB, free: 2.078 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.4713, allocations: 417.2 kB / 0.5908 GB, free: 1.672 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003232/0.4745, allocations: 2.423 MB / 0.5931 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.4758, allocations: 333.2 kB / 0.5934 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/0.4761, allocations: 108.8 kB / 0.5935 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03498/0.5111, allocations: 16.54 MB / 0.6097 GB, free: 12.05 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.5112, allocations: 38.56 kB / 0.6097 GB, free: 12.01 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.685e-06/0.5112, allocations: 3.938 kB / 0.6097 GB, free: 12 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002167/0.5134, allocations: 0.5204 MB / 0.6102 GB, free: 11.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.706e-05/0.5135, allocations: 110.8 kB / 0.6103 GB, free: 11.34 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004032/0.5139, allocations: 320.5 kB / 0.6107 GB, free: 11.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.5139, allocations: 25.7 kB / 0.6107 GB, free: 10.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.5141, allocations: 216 kB / 0.6109 GB, free: 10.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.5141, allocations: 51.59 kB / 0.6109 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.5143, allocations: 69.64 kB / 0.611 GB, free: 10.64 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5144, allocations: 334.8 kB / 0.6113 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.5147, allocations: 95.92 kB / 0.6114 GB, free: 10.21 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.5151, allocations: 203.4 kB / 0.6116 GB, free: 9.957 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006589/0.5158, allocations: 297.4 kB / 0.6119 GB, free: 9.617 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.5158, allocations: 4 kB / 0.6119 GB, free: 9.613 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008042/0.5166, allocations: 340.6 kB / 0.6122 GB, free: 9.277 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.5166, allocations: 8 kB / 0.6122 GB, free: 9.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.5167, allocations: 7.938 kB / 0.6122 GB, free: 9.262 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.5167, allocations: 4 kB / 0.6122 GB, free: 9.258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.517, allocations: 72.36 kB / 0.6123 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.517, allocations: 11.94 kB / 0.6123 GB, free: 9.176 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.5172, allocations: 43.72 kB / 0.6124 GB, free: 9.133 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.5173, allocations: 15.98 kB / 0.6124 GB, free: 9.117 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.0001798/0.5175, allocations: 153.7 kB / 0.6125 GB, free: 8.957 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.5175, allocations: 31.81 kB / 0.6125 GB, free: 8.926 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.5191, allocations: 1.11 MB / 0.6136 GB, free: 7.812 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.5192, allocations: 15.97 kB / 0.6136 GB, free: 7.797 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.5192, allocations: 0 / 0.6136 GB, free: 7.797 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.5192, allocations: 7.938 kB / 0.6137 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007884/0.52, allocations: 0.6679 MB / 0.6143 GB, free: 7.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.52, allocations: 4 kB / 0.6143 GB, free: 7.066 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.5203, allocations: 51.89 kB / 0.6144 GB, free: 7.016 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5203, allocations: 0 / 0.6144 GB, free: 7.016 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.5203, allocations: 7.938 kB / 0.6144 GB, free: 7.008 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5203, allocations: 0 / 0.6144 GB, free: 7.008 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5203, allocations: 3.984 kB / 0.6144 GB, free: 7.004 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009554/0.5213, allocations: 0.6158 MB / 0.615 GB, free: 6.367 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.5214, allocations: 132.6 kB / 0.6151 GB, free: 6.219 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.797e-05/0.5215, allocations: 35.66 kB / 0.6151 GB, free: 6.184 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.5217, allocations: 15.98 kB / 0.6152 GB, free: 6.168 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.991e-05/0.5218, allocations: 27.97 kB / 0.6152 GB, free: 6.141 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.5218, allocations: 7.984 kB / 0.6152 GB, free: 6.133 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004316/0.5222, allocations: 342.9 kB / 0.6155 GB, free: 5.797 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.5223, allocations: 0 / 0.6155 GB, free: 5.797 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00255/0.5248, allocations: 0.8539 MB / 0.6163 GB, free: 4.941 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.005477/0.5303, allocations: 2.072 MB / 0.6184 GB, free: 2.852 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000948/0.5313, allocations: 353.2 kB / 0.6187 GB, free: 2.508 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5313, allocations: 0 / 0.6187 GB, free: 2.508 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004172/0.5317, allocations: 260.5 kB / 0.619 GB, free: 2.254 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.5328, allocations: 192 kB / 0.6191 GB, free: 2.074 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007457/0.5403, allocations: 4.279 MB / 0.6233 GB, free: 13.62 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006076/0.541, allocations: 0.8796 MB / 0.6242 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004232/0.5414, allocations: 190 kB / 0.6244 GB, free: 12.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.5417, allocations: 191.4 kB / 0.6245 GB, free: 12.35 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5417, allocations: 0 / 0.6245 GB, free: 12.35 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07972/0.6214, allocations: 40.38 MB / 0.664 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/11.19, allocations: 19.84 kB / 0.664 GB, free: 4.105 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv","/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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches