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.001426/0.001426, allocations: 113.8 kB / 17.77 MB, free: 5.367 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.001162/0.001162, allocations: 183.1 kB / 18.7 MB, free: 4.441 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.365/1.365, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.213/0.213, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.00122, allocations: 67.89 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3185, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03247/0.3511, allocations: 30.08 MB / 0.5478 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02073/0.3718, allocations: 17.6 MB / 0.565 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006182/0.3725, allocations: 7.938 kB / 0.565 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000897/0.3735, allocations: 218.5 kB / 0.5652 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008189/0.3743, allocations: 278.4 kB / 0.5654 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01821/0.3925, allocations: 6.058 MB / 0.5714 GB, free: 5.758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.3937, allocations: 0.8226 MB / 0.5722 GB, free: 4.934 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005113/0.3942, allocations: 244.7 kB / 0.5724 GB, free: 4.691 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01389/0.4081, allocations: 5.462 MB / 0.5777 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005378/0.4087, allocations: 243 kB / 0.578 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.4088, allocations: 28 kB / 0.578 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01504/0.4239, allocations: 6.31 MB / 0.5842 GB, free: 8.566 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002602/0.4242, allocations: 95.67 kB / 0.5842 GB, free: 8.473 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004061/0.4246, allocations: 187.1 kB / 0.5844 GB, free: 8.289 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01198/0.4366, allocations: 3.847 MB / 0.5882 GB, free: 4.434 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.4367, allocations: 3.938 kB / 0.5882 GB, free: 4.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.4367, allocations: 0 / 0.5882 GB, free: 4.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.254e-05/0.4367, allocations: 0 / 0.5882 GB, free: 4.43 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.003101/0.4398, allocations: 1.075 MB / 0.5892 GB, free: 3.305 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.4399, allocations: 12.03 kB / 0.5892 GB, free: 3.293 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.44, allocations: 62.72 kB / 0.5893 GB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.4417, allocations: 188.5 kB / 0.5895 GB, free: 3.039 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005994/0.4423, allocations: 358.7 kB / 0.5898 GB, free: 2.648 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.4424, allocations: 24.94 kB / 0.5899 GB, free: 2.625 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/0.4424, allocations: 28.12 kB / 0.5899 GB, free: 2.598 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.4438, allocations: 494.8 kB / 0.5904 GB, free: 2.074 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.4438, allocations: 3.938 kB / 0.5904 GB, free: 2.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/0.4438, allocations: 16 kB / 0.5904 GB, free: 2.055 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.4439, allocations: 8 kB / 0.5904 GB, free: 2.047 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.4452, allocations: 401.3 kB / 0.5908 GB, free: 1.656 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004089/0.4493, allocations: 2.435 MB / 0.5931 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.4505, allocations: 334.3 kB / 0.5935 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.4508, allocations: 108.8 kB / 0.5936 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0352/0.486, allocations: 16.53 MB / 0.6097 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.963e-05/0.4861, allocations: 34.56 kB / 0.6097 GB, free: 11.99 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.866e-06/0.4861, allocations: 3.938 kB / 0.6097 GB, free: 11.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.00228/0.4884, allocations: 0.5282 MB / 0.6103 GB, free: 11.45 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.852e-05/0.4885, allocations: 106.8 kB / 0.6104 GB, free: 11.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005104/0.489, allocations: 324.5 kB / 0.6107 GB, free: 10.99 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.4891, allocations: 29.7 kB / 0.6107 GB, free: 10.95 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.4893, allocations: 212 kB / 0.6109 GB, free: 10.74 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.481e-05/0.4893, allocations: 47.58 kB / 0.6109 GB, free: 10.69 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.4895, allocations: 65.64 kB / 0.611 GB, free: 10.62 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4896, allocations: 338.8 kB / 0.6113 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.4899, allocations: 95.92 kB / 0.6114 GB, free: 10.19 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/0.4903, allocations: 211.3 kB / 0.6116 GB, free: 9.926 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006196/0.4909, allocations: 292.6 kB / 0.6119 GB, free: 9.594 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.491, allocations: 0 / 0.6119 GB, free: 9.594 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000863/0.4918, allocations: 341 kB / 0.6122 GB, free: 9.254 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.4919, allocations: 4.469 kB / 0.6122 GB, free: 9.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.4919, allocations: 11.94 kB / 0.6122 GB, free: 9.238 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.4919, allocations: 11.94 kB / 0.6123 GB, free: 9.227 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.4922, allocations: 67.89 kB / 0.6123 GB, free: 9.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.4923, allocations: 8 kB / 0.6123 GB, free: 9.152 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.4926, allocations: 47.7 kB / 0.6124 GB, free: 9.105 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.4926, allocations: 16 kB / 0.6124 GB, free: 9.09 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.000225/0.4929, allocations: 157.7 kB / 0.6125 GB, free: 8.926 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.493, allocations: 31.81 kB / 0.6126 GB, free: 8.895 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.4945, allocations: 1.106 MB / 0.6136 GB, free: 7.785 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.4945, allocations: 19.97 kB / 0.6137 GB, free: 7.766 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.4946, allocations: 0 / 0.6137 GB, free: 7.766 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4946, allocations: 3.938 kB / 0.6137 GB, free: 7.762 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007637/0.4953, allocations: 0.6679 MB / 0.6143 GB, free: 7.043 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.4954, allocations: 0 / 0.6143 GB, free: 7.043 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.4956, allocations: 51.94 kB / 0.6144 GB, free: 6.992 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.4956, allocations: 4 kB / 0.6144 GB, free: 6.988 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.4956, allocations: 3.938 kB / 0.6144 GB, free: 6.984 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.4956, allocations: 8 kB / 0.6144 GB, free: 6.977 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4956, allocations: 0 / 0.6144 GB, free: 6.977 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000987/0.4966, allocations: 0.6196 MB / 0.615 GB, free: 6.336 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.4968, allocations: 132.7 kB / 0.6151 GB, free: 6.188 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.248e-05/0.4969, allocations: 31.72 kB / 0.6151 GB, free: 6.156 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.4971, allocations: 19.97 kB / 0.6152 GB, free: 6.137 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/0.4972, allocations: 19.97 kB / 0.6152 GB, free: 6.117 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.4972, allocations: 4 kB / 0.6152 GB, free: 6.113 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003934/0.4976, allocations: 342.9 kB / 0.6155 GB, free: 5.777 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4976, allocations: 0 / 0.6155 GB, free: 5.777 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002839/0.5005, allocations: 0.8539 MB / 0.6163 GB, free: 4.922 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.006719/0.5072, allocations: 2.084 MB / 0.6184 GB, free: 2.824 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.5083, allocations: 352.2 kB / 0.6187 GB, free: 2.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5083, allocations: 0 / 0.6187 GB, free: 2.48 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000439/0.5088, allocations: 257.4 kB / 0.619 GB, free: 2.23 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.51, allocations: 191.4 kB / 0.6191 GB, free: 2.047 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008474/0.5185, allocations: 4.274 MB / 0.6233 GB, free: 13.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.519, allocations: 0.8796 MB / 0.6242 GB, free: 12.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000434/0.5194, allocations: 194.1 kB / 0.6244 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.5197, allocations: 191.4 kB / 0.6245 GB, free: 12.32 MB / 494.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5197, allocations: 3.938 kB / 0.6246 GB, free: 12.32 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07833/0.5981, allocations: 40.38 MB / 0.664 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.64, allocations: 14.53 kB / 0.664 GB, free: 4.082 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