Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00179/0.00179, allocations: 107.1 kB / 20.44 MB, free: 1.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002211/0.002211, allocations: 213.6 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 230.5 MB / 257.4 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2466/0.2466, allocations: 46.95 MB / 360.8 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002413/0.002413, allocations: 79.88 kB / 0.4962 GB, free: 7.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.368, allocations: 66.08 MB / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.035/0.403, allocations: 27.69 MB / 0.5877 GB, free: 8.258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01904/0.4221, allocations: 13.84 MB / 0.6012 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003832/0.4225, allocations: 19.81 kB / 0.6013 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000761/0.4232, allocations: 198.7 kB / 0.6015 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007395/0.424, allocations: 282.4 kB / 0.6017 GB, free: 9.879 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01548/0.4394, allocations: 5.588 MB / 0.6072 GB, free: 4.297 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.4409, allocations: 0.8226 MB / 0.608 GB, free: 3.473 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004077/0.4413, allocations: 196.9 kB / 0.6082 GB, free: 3.277 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01313/0.4544, allocations: 5.489 MB / 0.6135 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005608/0.455, allocations: 238.9 kB / 0.6138 GB, free: 13.47 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.4551, allocations: 28 kB / 0.6138 GB, free: 13.44 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01257/0.4676, allocations: 5.846 MB / 0.6195 GB, free: 7.59 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.4678, allocations: 83.69 kB / 0.6196 GB, free: 7.508 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003017/0.4681, allocations: 159.4 kB / 0.6197 GB, free: 7.352 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009326/0.4774, allocations: 3.683 MB / 0.6233 GB, free: 3.66 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/0.4775, allocations: 0 / 0.6233 GB, free: 3.66 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4775, allocations: 0 / 0.6233 GB, free: 3.66 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.191e-05/0.4775, allocations: 0 / 0.6233 GB, free: 3.66 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.00344/0.4809, allocations: 0.9469 MB / 0.6242 GB, free: 2.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.481, allocations: 8.031 kB / 0.6243 GB, free: 2.672 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.4811, allocations: 66.72 kB / 0.6243 GB, free: 2.598 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.4822, allocations: 120.6 kB / 0.6244 GB, free: 2.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006206/0.4828, allocations: 280.9 kB / 0.6247 GB, free: 2.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.914e-05/0.4828, allocations: 24.88 kB / 0.6247 GB, free: 2.156 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.4829, allocations: 28.12 kB / 0.6248 GB, free: 2.129 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.4842, allocations: 0.594 MB / 0.6253 GB, free: 1.457 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.4842, allocations: 7.938 kB / 0.6253 GB, free: 1.449 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.764e-05/0.4843, allocations: 12 kB / 0.6253 GB, free: 1.438 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.4843, allocations: 8 kB / 0.6254 GB, free: 1.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.4854, allocations: 361.3 kB / 0.6257 GB, free: 1.078 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003621/0.489, allocations: 1.788 MB / 0.6274 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.4901, allocations: 266.3 kB / 0.6277 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.4903, allocations: 92.78 kB / 0.6278 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002848/0.4906, allocations: 103.9 kB / 0.6279 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.4907, allocations: 34.56 kB / 0.6279 GB, free: 14.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.4907, allocations: 0 / 0.6279 GB, free: 14.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001773/0.4924, allocations: 461.2 kB / 0.6284 GB, free: 14.24 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.62e-05/0.4925, allocations: 106.8 kB / 0.6285 GB, free: 14.11 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004532/0.493, allocations: 340.3 kB / 0.6288 GB, free: 13.77 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.493, allocations: 25.7 kB / 0.6288 GB, free: 13.73 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.4932, allocations: 211.9 kB / 0.629 GB, free: 13.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.4932, allocations: 35.69 kB / 0.629 GB, free: 13.49 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.4933, allocations: 65.64 kB / 0.6291 GB, free: 13.42 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.4935, allocations: 334.8 kB / 0.6294 GB, free: 13.08 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.4938, allocations: 87.92 kB / 0.6295 GB, free: 13 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/0.4942, allocations: 258.7 kB / 0.6298 GB, free: 12.68 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007227/0.4949, allocations: 277.9 kB / 0.63 GB, free: 12.36 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.4949, allocations: 0 / 0.63 GB, free: 12.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008568/0.4958, allocations: 321.1 kB / 0.6303 GB, free: 12.04 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.4958, allocations: 8 kB / 0.6303 GB, free: 12.03 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.4958, allocations: 0 / 0.6303 GB, free: 12.03 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.4958, allocations: 8 kB / 0.6303 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.4961, allocations: 71.77 kB / 0.6304 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.4961, allocations: 4 kB / 0.6304 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/0.4964, allocations: 52.02 kB / 0.6305 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.4964, allocations: 11.98 kB / 0.6305 GB, free: 11.88 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.0001893/0.4966, allocations: 149.8 kB / 0.6306 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-05/0.4967, allocations: 31.81 kB / 0.6307 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.498, allocations: 0.7877 MB / 0.6314 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.498, allocations: 11.92 kB / 0.6314 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.498, allocations: 0 / 0.6314 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.498, allocations: 0 / 0.6314 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006501/0.4986, allocations: 485.8 kB / 0.6319 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.4986, allocations: 3.938 kB / 0.6319 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.4989, allocations: 47.95 kB / 0.6319 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.4989, allocations: 4 kB / 0.632 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.4989, allocations: 0 / 0.632 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.4989, allocations: 3.938 kB / 0.632 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.4989, allocations: 4 kB / 0.632 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009246/0.4998, allocations: 478.9 kB / 0.6324 GB, free: 9.824 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.41e-05/0.4999, allocations: 43.69 kB / 0.6325 GB, free: 9.781 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/0.5, allocations: 27.73 kB / 0.6325 GB, free: 9.754 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.5002, allocations: 19.92 kB / 0.6325 GB, free: 9.734 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.48e-05/0.5003, allocations: 15.97 kB / 0.6325 GB, free: 9.719 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.5003, allocations: 11.98 kB / 0.6325 GB, free: 9.707 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004291/0.5007, allocations: 338.9 kB / 0.6329 GB, free: 9.375 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5007, allocations: 0 / 0.6329 GB, free: 9.375 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002783/0.5035, allocations: 0.8539 MB / 0.6337 GB, free: 8.52 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.005795/0.5093, allocations: 1.889 MB / 0.6355 GB, free: 6.605 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007424/0.51, allocations: 268.6 kB / 0.6358 GB, free: 6.344 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.51, allocations: 0 / 0.6358 GB, free: 6.344 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003138/0.5103, allocations: 135.9 kB / 0.6359 GB, free: 6.211 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.5114, allocations: 194.8 kB / 0.6361 GB, free: 6.027 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007371/0.5187, allocations: 4.037 MB / 0.64 GB, free: 1.816 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.519, allocations: 247.7 kB / 0.6403 GB, free: 1.547 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003598/0.5194, allocations: 134.8 kB / 0.6404 GB, free: 1.414 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/0.5196, allocations: 159.4 kB / 0.6406 GB, free: 1.258 MB / 478.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5196, allocations: 0 / 0.6406 GB, free: 1.258 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0938/0.6134, allocations: 40.24 MB / 0.6799 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.86, allocations: 7.844 kB / 0.6799 GB, free: 9.188 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv. Warning: Get data of variable specificEnthalpy.h_out from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv failed! Error: Could not read variable specificEnthalpy1.h_out in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv. Warning: Get data of variable specificEnthalpy1.h_out from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.180121706798673]