Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.562/1.562, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2342/0.2342, allocations: 46.94 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.89 kB / 0.4909 GB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1396, allocations: 66 MB / 0.5554 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03926/0.1789, allocations: 30.39 MB / 0.5851 GB, free: 7.336 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3313/0.5102, allocations: 17.68 MB / 0.6023 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004767/0.5106, allocations: 15.53 kB / 0.6023 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008508/0.5115, allocations: 218.9 kB / 0.6026 GB, free: 3.676 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008173/0.5123, allocations: 280.6 kB / 0.6028 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02038/0.5327, allocations: 6.064 MB / 0.6087 GB, free: 3.449 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001763/0.5344, allocations: 0.8411 MB / 0.6096 GB, free: 3.293 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004663/0.5349, allocations: 207.9 kB / 0.6098 GB, free: 3.273 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01211/0.547, allocations: 5.478 MB / 0.6151 GB, free: 1.668 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006403/0.5477, allocations: 255.9 kB / 0.6154 GB, free: 1.613 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.331e-05/0.5477, allocations: 29.5 kB / 0.6154 GB, free: 1.613 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01482/0.5626, allocations: 6.34 MB / 0.6216 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.5628, allocations: 94.88 kB / 0.6217 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004164/0.5632, allocations: 190.4 kB / 0.6218 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01157/0.5748, allocations: 3.871 MB / 0.6256 GB, free: 14.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5748, allocations: 7.938 kB / 0.6256 GB, free: 14.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5748, allocations: 0 / 0.6256 GB, free: 14.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.5748, allocations: 0 / 0.6256 GB, free: 14.43 MB / 462.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.004084/0.5789, allocations: 1.079 MB / 0.6267 GB, free: 13.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.5789, allocations: 8.438 kB / 0.6267 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.921e-05/0.579, allocations: 60.77 kB / 0.6268 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.5807, allocations: 203 kB / 0.6269 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007093/0.5814, allocations: 350.8 kB / 0.6273 GB, free: 13.13 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.084e-05/0.5815, allocations: 33.09 kB / 0.6273 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/0.5815, allocations: 25.06 kB / 0.6273 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.5829, allocations: 490 kB / 0.6278 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.5829, allocations: 1.25 kB / 0.6278 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.583, allocations: 11.38 kB / 0.6278 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.583, allocations: 6.625 kB / 0.6278 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.5842, allocations: 413.3 kB / 0.6282 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003579/0.5878, allocations: 2.431 MB / 0.6306 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.589, allocations: 316 kB / 0.6309 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.5893, allocations: 103.8 kB / 0.631 GB, free: 10.08 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03738/0.6266, allocations: 18.39 MB / 0.6489 GB, free: 9.223 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.323e-05/0.6267, allocations: 34.31 kB / 0.649 GB, free: 9.184 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.064e-06/0.6267, allocations: 0 / 0.649 GB, free: 9.184 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002203/0.6289, allocations: 0.5251 MB / 0.6495 GB, free: 8.652 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.244e-05/0.629, allocations: 102.8 kB / 0.6496 GB, free: 8.527 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004741/0.6295, allocations: 324.4 kB / 0.6499 GB, free: 8.207 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.6295, allocations: 33.7 kB / 0.6499 GB, free: 8.168 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.6297, allocations: 214.6 kB / 0.6501 GB, free: 7.957 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.188e-05/0.6298, allocations: 51.58 kB / 0.6502 GB, free: 7.906 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.6299, allocations: 65.66 kB / 0.6502 GB, free: 7.836 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.6301, allocations: 338.8 kB / 0.6506 GB, free: 7.496 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.6304, allocations: 99.86 kB / 0.6507 GB, free: 7.398 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.6308, allocations: 215.3 kB / 0.6509 GB, free: 7.133 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006645/0.6314, allocations: 293.3 kB / 0.6512 GB, free: 6.801 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.6314, allocations: 4 kB / 0.6512 GB, free: 6.797 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008245/0.6323, allocations: 337 kB / 0.6515 GB, free: 6.461 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.6323, allocations: 8 kB / 0.6515 GB, free: 6.453 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.6323, allocations: 4.469 kB / 0.6515 GB, free: 6.449 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.6323, allocations: 11.94 kB / 0.6515 GB, free: 6.438 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.6326, allocations: 71.89 kB / 0.6516 GB, free: 6.367 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.6326, allocations: 4 kB / 0.6516 GB, free: 6.363 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.6329, allocations: 51.59 kB / 0.6516 GB, free: 6.312 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.6329, allocations: 23.92 kB / 0.6516 GB, free: 6.289 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.0002022/0.6331, allocations: 152 kB / 0.6518 GB, free: 6.133 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-05/0.6332, allocations: 35.81 kB / 0.6518 GB, free: 6.098 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.6348, allocations: 1.098 MB / 0.6529 GB, free: 5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/0.6348, allocations: 15.97 kB / 0.6529 GB, free: 4.984 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6348, allocations: 8 kB / 0.6529 GB, free: 4.977 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6348, allocations: 0 / 0.6529 GB, free: 4.977 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007808/0.6356, allocations: 0.6706 MB / 0.6536 GB, free: 4.262 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.6356, allocations: 0 / 0.6536 GB, free: 4.262 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.6358, allocations: 47.89 kB / 0.6536 GB, free: 4.215 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.6358, allocations: 0 / 0.6536 GB, free: 4.215 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.6358, allocations: 11.94 kB / 0.6536 GB, free: 4.203 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.6358, allocations: 0 / 0.6536 GB, free: 4.203 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6358, allocations: 0 / 0.6536 GB, free: 4.203 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.6368, allocations: 0.6235 MB / 0.6542 GB, free: 3.562 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.637, allocations: 136.6 kB / 0.6544 GB, free: 3.41 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.05e-05/0.6371, allocations: 28.34 kB / 0.6544 GB, free: 3.383 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.6373, allocations: 23.98 kB / 0.6544 GB, free: 3.359 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.6373, allocations: 19.97 kB / 0.6544 GB, free: 3.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.6374, allocations: 4 kB / 0.6544 GB, free: 3.336 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004132/0.6378, allocations: 342.8 kB / 0.6548 GB, free: 3.004 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6378, allocations: 4 kB / 0.6548 GB, free: 3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003529/0.6413, allocations: 0.8616 MB / 0.6556 GB, free: 2.137 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.007395/0.6487, allocations: 2.071 MB / 0.6576 GB, free: 136 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.6497, allocations: 345.1 kB / 0.658 GB, free: 15.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.6497, allocations: 4 kB / 0.658 GB, free: 15.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004092/0.6501, allocations: 204.5 kB / 0.6582 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.6512, allocations: 185.3 kB / 0.6583 GB, free: 15.42 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008159/0.6594, allocations: 4.295 MB / 0.6625 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/0.6599, allocations: 0.8796 MB / 0.6634 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004591/0.6603, allocations: 188.1 kB / 0.6636 GB, free: 9.875 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/0.6606, allocations: 191.4 kB / 0.6638 GB, free: 9.688 MB / 494.1 MB Notification: Performance of SimCode: time 8.72e-07/0.6606, allocations: 0 / 0.6638 GB, free: 9.688 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08132/0.7419, allocations: 40.49 MB / 0.7033 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/11.12, allocations: 30.67 kB / 0.7033 GB, free: 1.312 MB / 0.5137 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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.000201597 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable specificEntropy.s in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv. Warning: Get data of variable specificEntropy.s from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv failed! Error: Could not read variable specificEntropy1.s in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv. Warning: Get data of variable specificEntropy1.s from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.673737424003775]