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.001755/0.001755, allocations: 110.5 kB / 21.1 MB, free: 0.7695 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.002156/0.002156, allocations: 205 kB / 24.38 MB, free: 4.188 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.561/1.561, allocations: 230.2 MB / 257.7 MB, free: 8.27 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.2427/0.2427, allocations: 46.89 MB / 361 MB, free: 4.492 MB / 286.1 MB " [Timeout remaining time 179] 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.002295/0.002295, allocations: 79.88 kB / 0.4962 GB, free: 8.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3693, allocations: 66.03 MB / 0.5607 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.04038/0.4097, allocations: 30.31 MB / 0.5903 GB, free: 6.285 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02521/0.4349, allocations: 15.55 MB / 0.6054 GB, free: 6.684 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000475/0.4353, allocations: 15.88 kB / 0.6055 GB, free: 6.668 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007734/0.4361, allocations: 218.6 kB / 0.6057 GB, free: 6.453 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007193/0.4368, allocations: 278.3 kB / 0.6059 GB, free: 6.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01677/0.4536, allocations: 5.655 MB / 0.6115 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001563/0.4552, allocations: 0.8459 MB / 0.6123 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003931/0.4556, allocations: 193 kB / 0.6125 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01243/0.468, allocations: 5.517 MB / 0.6179 GB, free: 9.891 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006634/0.4687, allocations: 243 kB / 0.6181 GB, free: 9.652 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.893e-05/0.4687, allocations: 28 kB / 0.6181 GB, free: 9.625 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01209/0.4808, allocations: 6.08 MB / 0.624 GB, free: 3.539 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.481, allocations: 91.66 kB / 0.6241 GB, free: 3.449 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003006/0.4813, allocations: 187.1 kB / 0.6243 GB, free: 3.266 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.4917, allocations: 3.66 MB / 0.6279 GB, free: 15.6 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.402e-05/0.4917, allocations: 4 kB / 0.6279 GB, free: 15.59 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.4917, allocations: 0 / 0.6279 GB, free: 15.59 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.4917, allocations: 0 / 0.6279 GB, free: 15.59 MB / 478.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.003147/0.4948, allocations: 1.022 MB / 0.6289 GB, free: 14.52 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.4949, allocations: 12.03 kB / 0.6289 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.025e-05/0.495, allocations: 58.73 kB / 0.629 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009984/0.496, allocations: 124.5 kB / 0.6291 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006006/0.4966, allocations: 346.8 kB / 0.6294 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.4966, allocations: 20.88 kB / 0.6294 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/0.4967, allocations: 28.12 kB / 0.6295 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.4978, allocations: 454.1 kB / 0.6299 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.4978, allocations: 4 kB / 0.6299 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.4979, allocations: 12 kB / 0.6299 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.4979, allocations: 4 kB / 0.6299 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.499, allocations: 377.2 kB / 0.6303 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003294/0.5022, allocations: 2.38 MB / 0.6326 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.5033, allocations: 266.3 kB / 0.6328 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.5035, allocations: 88.8 kB / 0.6329 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005001/0.504, allocations: 481.5 kB / 0.6334 GB, free: 9.508 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/0.5041, allocations: 42.5 kB / 0.6334 GB, free: 9.457 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.5041, allocations: 0 / 0.6334 GB, free: 9.457 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001688/0.5058, allocations: 449.3 kB / 0.6339 GB, free: 9.012 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.5059, allocations: 118.7 kB / 0.634 GB, free: 8.871 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004763/0.5063, allocations: 328.4 kB / 0.6343 GB, free: 8.535 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.5064, allocations: 25.7 kB / 0.6343 GB, free: 8.504 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.5066, allocations: 207.9 kB / 0.6345 GB, free: 8.297 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.5066, allocations: 43.67 kB / 0.6345 GB, free: 8.254 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.5067, allocations: 61.64 kB / 0.6346 GB, free: 8.188 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.5069, allocations: 338.8 kB / 0.6349 GB, free: 7.848 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.5072, allocations: 83.94 kB / 0.635 GB, free: 7.766 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/0.5076, allocations: 207.3 kB / 0.6352 GB, free: 7.508 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000626/0.5082, allocations: 277.5 kB / 0.6355 GB, free: 7.188 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5082, allocations: 0 / 0.6355 GB, free: 7.188 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007741/0.509, allocations: 329.7 kB / 0.6358 GB, free: 6.859 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.509, allocations: 11.98 kB / 0.6358 GB, free: 6.848 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.509, allocations: 0 / 0.6358 GB, free: 6.848 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.5091, allocations: 8 kB / 0.6358 GB, free: 6.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.5093, allocations: 67.83 kB / 0.6359 GB, free: 6.773 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.5094, allocations: 4 kB / 0.6359 GB, free: 6.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.5096, allocations: 47.72 kB / 0.6359 GB, free: 6.723 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.5096, allocations: 12 kB / 0.6359 GB, free: 6.711 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.0002512/0.5099, allocations: 159 kB / 0.6361 GB, free: 6.547 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.287e-05/0.51, allocations: 35.81 kB / 0.6361 GB, free: 6.512 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.5113, allocations: 0.7684 MB / 0.6369 GB, free: 5.734 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.5113, allocations: 11.94 kB / 0.6369 GB, free: 5.723 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5113, allocations: 0 / 0.6369 GB, free: 5.723 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.5113, allocations: 3.984 kB / 0.6369 GB, free: 5.719 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007159/0.512, allocations: 0.5261 MB / 0.6374 GB, free: 5.145 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.5121, allocations: 0 / 0.6374 GB, free: 5.145 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.5123, allocations: 43.95 kB / 0.6374 GB, free: 5.102 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.5123, allocations: 0 / 0.6374 GB, free: 5.102 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.5123, allocations: 11.98 kB / 0.6374 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.5123, allocations: 7.875 kB / 0.6375 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5123, allocations: 0 / 0.6375 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007552/0.513, allocations: 478.6 kB / 0.6379 GB, free: 4.598 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.5131, allocations: 112.8 kB / 0.638 GB, free: 4.469 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.279e-05/0.5132, allocations: 27.73 kB / 0.638 GB, free: 4.441 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.5134, allocations: 23.91 kB / 0.6381 GB, free: 4.418 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.5135, allocations: 19.97 kB / 0.6381 GB, free: 4.398 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.5135, allocations: 4 kB / 0.6381 GB, free: 4.395 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004302/0.5139, allocations: 342.9 kB / 0.6384 GB, free: 4.059 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5139, allocations: 0 / 0.6384 GB, free: 4.059 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003182/0.5171, allocations: 0.8577 MB / 0.6393 GB, free: 3.199 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.005309/0.5224, allocations: 1.89 MB / 0.6411 GB, free: 1.281 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008486/0.5233, allocations: 268.6 kB / 0.6414 GB, free: 1.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5233, allocations: 0 / 0.6414 GB, free: 1.02 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.5236, allocations: 143.4 kB / 0.6415 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.5246, allocations: 182.7 kB / 0.6417 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007397/0.532, allocations: 4.036 MB / 0.6456 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/0.5325, allocations: 0.8461 MB / 0.6464 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003883/0.5329, allocations: 142.8 kB / 0.6466 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.5331, allocations: 167.4 kB / 0.6467 GB, free: 11.32 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5331, allocations: 0 / 0.6467 GB, free: 11.32 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08709/0.6202, allocations: 39.35 MB / 0.6852 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.97, allocations: 17.36 kB / 0.6852 GB, free: 4.027 MB / 0.5137 GB " [Timeout remaining time 649] (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.0.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: 14.354747750097886]