Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.001468/0.001468, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001474/0.001474, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.551/1.551, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2318/0.2318, allocations: 46.96 MB / 360.9 MB, free: 4.098 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.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 67.91 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.367, allocations: 66.03 MB / 0.5606 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03443/0.4014, allocations: 27.69 MB / 0.5876 GB, free: 8.406 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0196/0.421, allocations: 13.85 MB / 0.6012 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00032/0.4214, allocations: 11.88 kB / 0.6012 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007129/0.4221, allocations: 202.7 kB / 0.6014 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006474/0.4227, allocations: 274.4 kB / 0.6016 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01635/0.4391, allocations: 5.594 MB / 0.6071 GB, free: 4.449 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001344/0.4404, allocations: 0.8304 MB / 0.6079 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00039/0.4408, allocations: 181 kB / 0.6081 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01134/0.4521, allocations: 5.497 MB / 0.6134 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004458/0.4526, allocations: 238.9 kB / 0.6137 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.475e-05/0.4527, allocations: 32 kB / 0.6137 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01065/0.4633, allocations: 5.842 MB / 0.6194 GB, free: 7.742 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.4635, allocations: 91.67 kB / 0.6195 GB, free: 7.652 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.4637, allocations: 151.4 kB / 0.6196 GB, free: 7.504 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007054/0.4707, allocations: 3.683 MB / 0.6232 GB, free: 3.812 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4707, allocations: 0 / 0.6232 GB, free: 3.812 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4707, allocations: 0 / 0.6232 GB, free: 3.812 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.4708, allocations: 0 / 0.6232 GB, free: 3.812 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002298/0.4731, allocations: 0.9509 MB / 0.6242 GB, free: 2.828 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4731, allocations: 8.031 kB / 0.6242 GB, free: 2.82 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.437e-05/0.4732, allocations: 58.73 kB / 0.6242 GB, free: 2.754 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.4742, allocations: 124.6 kB / 0.6243 GB, free: 2.633 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005652/0.4748, allocations: 280.9 kB / 0.6246 GB, free: 2.332 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.4748, allocations: 20.88 kB / 0.6246 GB, free: 2.312 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.4748, allocations: 32.06 kB / 0.6247 GB, free: 2.281 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.4761, allocations: 0.5941 MB / 0.6252 GB, free: 1.609 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.4761, allocations: 3.938 kB / 0.6252 GB, free: 1.605 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.4762, allocations: 15.94 kB / 0.6253 GB, free: 1.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.4762, allocations: 8 kB / 0.6253 GB, free: 1.582 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.4773, allocations: 365.3 kB / 0.6256 GB, free: 1.227 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002948/0.4802, allocations: 1.777 MB / 0.6273 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.4812, allocations: 266.3 kB / 0.6276 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.4815, allocations: 92.78 kB / 0.6277 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000284/0.4818, allocations: 111.9 kB / 0.6278 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.4818, allocations: 34.56 kB / 0.6278 GB, free: 14.85 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 2.084e-06/0.4818, allocations: 224 / 0.6278 GB, free: 14.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001757/0.4836, allocations: 468.8 kB / 0.6283 GB, free: 14.38 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.4837, allocations: 102.8 kB / 0.6284 GB, free: 14.26 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.484, allocations: 332.4 kB / 0.6287 GB, free: 13.92 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.4841, allocations: 29.7 kB / 0.6287 GB, free: 13.89 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.4842, allocations: 215.9 kB / 0.6289 GB, free: 13.67 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.4843, allocations: 39.69 kB / 0.629 GB, free: 13.63 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.712e-05/0.4844, allocations: 61.58 kB / 0.629 GB, free: 13.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.4845, allocations: 342.8 kB / 0.6293 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.4848, allocations: 87.92 kB / 0.6294 GB, free: 13.14 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.4852, allocations: 250.8 kB / 0.6297 GB, free: 12.82 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005904/0.4858, allocations: 277.4 kB / 0.6299 GB, free: 12.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4858, allocations: 0 / 0.6299 GB, free: 12.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007425/0.4865, allocations: 321 kB / 0.6302 GB, free: 12.18 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.4866, allocations: 4 kB / 0.6302 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.4866, allocations: 7.938 kB / 0.6303 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/0.4866, allocations: 11.94 kB / 0.6303 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002874/0.4869, allocations: 68.36 kB / 0.6303 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.4869, allocations: 7.938 kB / 0.6303 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.4871, allocations: 39.77 kB / 0.6304 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.4872, allocations: 12 kB / 0.6304 GB, free: 12.04 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 (27): * Single equations (assignments): 27 * 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.0001698/0.4873, allocations: 153.8 kB / 0.6305 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.007e-05/0.4874, allocations: 31.81 kB / 0.6306 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.4886, allocations: 0.7877 MB / 0.6313 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.4886, allocations: 7.938 kB / 0.6313 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.4886, allocations: 3.984 kB / 0.6313 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.4886, allocations: 3.938 kB / 0.6313 GB, free: 11.03 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005496/0.4892, allocations: 485.8 kB / 0.6318 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4892, allocations: 4 kB / 0.6318 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.4894, allocations: 43.95 kB / 0.6319 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.4894, allocations: 4 kB / 0.6319 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.4894, allocations: 4 kB / 0.6319 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4894, allocations: 3.938 kB / 0.6319 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4894, allocations: 0 / 0.6319 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007713/0.4902, allocations: 478.6 kB / 0.6323 GB, free: 9.973 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.696e-05/0.4903, allocations: 35.69 kB / 0.6324 GB, free: 9.938 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.851e-05/0.4903, allocations: 35.67 kB / 0.6324 GB, free: 9.902 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.4905, allocations: 15.92 kB / 0.6324 GB, free: 9.887 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/0.4906, allocations: 19.97 kB / 0.6324 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.4906, allocations: 4 kB / 0.6324 GB, free: 9.863 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005365/0.4912, allocations: 346.8 kB / 0.6328 GB, free: 9.523 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4912, allocations: 4 kB / 0.6328 GB, free: 9.52 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003103/0.4943, allocations: 0.8461 MB / 0.6336 GB, free: 8.672 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: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.007945/0.5022, allocations: 1.892 MB / 0.6354 GB, free: 6.754 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.5035, allocations: 267.7 kB / 0.6357 GB, free: 6.492 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.5035, allocations: 0 / 0.6357 GB, free: 6.492 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004866/0.504, allocations: 136.8 kB / 0.6358 GB, free: 6.359 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.5056, allocations: 180.1 kB / 0.636 GB, free: 6.188 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.5172, allocations: 4.041 MB / 0.6399 GB, free: 1.977 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.5176, allocations: 243.7 kB / 0.6402 GB, free: 1.711 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006221/0.5182, allocations: 142.8 kB / 0.6403 GB, free: 1.57 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004469/0.5187, allocations: 167.4 kB / 0.6405 GB, free: 1.406 MB / 478.1 MB Notification: Performance of SimCode: time 1.462e-06/0.5187, allocations: 0 / 0.6405 GB, free: 1.406 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09801/0.6167, allocations: 40.23 MB / 0.6798 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/13.94, allocations: 5.438 kB / 0.6798 GB, free: 9.418 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_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_TestSpecificEnthalpy.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable specificEnthalpy.h_out in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv. Warning: Get data of variable specificEnthalpy.h_out from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv failed! Error: Could not read variable specificEnthalpy1.h_out in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv. Warning: Get data of variable specificEnthalpy1.h_out from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.313238186761737]