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.001894/0.001894, allocations: 112.3 kB / 20.48 MB, free: 1.121 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.003191/0.003191, allocations: 214.6 kB / 23.78 MB, free: 4.316 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.528/1.528, allocations: 230.5 MB / 257.5 MB, free: 7.922 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.2428/0.2428, allocations: 46.94 MB / 360.9 MB, free: 3.922 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.002375/0.002375, allocations: 75.88 kB / 0.4962 GB, free: 7.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3634, allocations: 66.09 MB / 0.5608 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03801/0.4014, allocations: 27.68 MB / 0.5878 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02096/0.4224, allocations: 13.84 MB / 0.6013 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003851/0.4228, allocations: 15.88 kB / 0.6014 GB, free: 10.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007612/0.4235, allocations: 194.7 kB / 0.6015 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007939/0.4243, allocations: 282.4 kB / 0.6018 GB, free: 9.844 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01877/0.4431, allocations: 5.596 MB / 0.6073 GB, free: 4.254 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001677/0.4448, allocations: 0.8227 MB / 0.6081 GB, free: 3.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005213/0.4453, allocations: 189 kB / 0.6083 GB, free: 3.242 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01464/0.4599, allocations: 5.509 MB / 0.6136 GB, free: 13.65 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005718/0.4605, allocations: 238.9 kB / 0.6139 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.4606, allocations: 28 kB / 0.6139 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01269/0.4733, allocations: 5.846 MB / 0.6196 GB, free: 7.535 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.4736, allocations: 91.66 kB / 0.6197 GB, free: 7.445 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000321/0.4739, allocations: 151.4 kB / 0.6198 GB, free: 7.297 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.484, allocations: 3.675 MB / 0.6234 GB, free: 3.613 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.484, allocations: 4 kB / 0.6234 GB, free: 3.609 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.484, allocations: 0 / 0.6234 GB, free: 3.609 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.967e-05/0.484, allocations: 0 / 0.6234 GB, free: 3.609 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.003028/0.4871, allocations: 0.9509 MB / 0.6244 GB, free: 2.625 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.4871, allocations: 8.031 kB / 0.6244 GB, free: 2.617 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/0.4872, allocations: 58.73 kB / 0.6244 GB, free: 2.551 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.4885, allocations: 120.6 kB / 0.6245 GB, free: 2.434 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006146/0.4891, allocations: 293.2 kB / 0.6248 GB, free: 2.121 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.4892, allocations: 20.88 kB / 0.6248 GB, free: 2.098 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/0.4892, allocations: 28.12 kB / 0.6249 GB, free: 2.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.4905, allocations: 0.5942 MB / 0.6254 GB, free: 1.402 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.4905, allocations: 0 / 0.6254 GB, free: 1.402 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.4906, allocations: 12 kB / 0.6255 GB, free: 1.391 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.4906, allocations: 11.98 kB / 0.6255 GB, free: 1.379 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.4918, allocations: 369.5 kB / 0.6258 GB, free: 1.02 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003245/0.495, allocations: 1.769 MB / 0.6275 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.4961, allocations: 278.2 kB / 0.6278 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002815/0.4964, allocations: 92.8 kB / 0.6279 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/0.4967, allocations: 115.8 kB / 0.628 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.4967, allocations: 30.56 kB / 0.628 GB, free: 14.64 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 2.154e-06/0.4967, allocations: 0 / 0.628 GB, free: 14.64 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001777/0.4985, allocations: 453 kB / 0.6285 GB, free: 14.19 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.345e-05/0.4986, allocations: 110.7 kB / 0.6286 GB, free: 14.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000489/0.4991, allocations: 328.4 kB / 0.6289 GB, free: 13.72 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.4991, allocations: 33.7 kB / 0.6289 GB, free: 13.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.4993, allocations: 212 kB / 0.6291 GB, free: 13.47 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.4993, allocations: 43.69 kB / 0.6292 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-05/0.4994, allocations: 57.64 kB / 0.6292 GB, free: 13.37 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003015/0.4997, allocations: 342.8 kB / 0.6295 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.5, allocations: 83.94 kB / 0.6296 GB, free: 12.94 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/0.5004, allocations: 250.8 kB / 0.6299 GB, free: 12.63 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006287/0.5011, allocations: 285.8 kB / 0.6301 GB, free: 12.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5011, allocations: 4 kB / 0.6301 GB, free: 12.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007922/0.5019, allocations: 321 kB / 0.6304 GB, free: 11.98 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.5019, allocations: 6.188 kB / 0.6305 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.5019, allocations: 4 kB / 0.6305 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.5019, allocations: 4 kB / 0.6305 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.5023, allocations: 76.3 kB / 0.6305 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.5023, allocations: 7.938 kB / 0.6305 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.5025, allocations: 39.77 kB / 0.6306 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.5026, allocations: 12 kB / 0.6306 GB, free: 11.83 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.0001878/0.5027, allocations: 155.1 kB / 0.6307 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.5028, allocations: 27.81 kB / 0.6308 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.5042, allocations: 0.7922 MB / 0.6315 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.5043, allocations: 7.938 kB / 0.6315 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.5043, allocations: 0 / 0.6315 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.5043, allocations: 3.984 kB / 0.6316 GB, free: 10.83 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006515/0.5049, allocations: 486.1 kB / 0.632 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.5049, allocations: 3.938 kB / 0.632 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.5051, allocations: 47.89 kB / 0.6321 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.5052, allocations: 4 kB / 0.6321 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.5052, allocations: 4 kB / 0.6321 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.5052, allocations: 3.938 kB / 0.6321 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5052, allocations: 0 / 0.6321 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008949/0.5061, allocations: 476 kB / 0.6325 GB, free: 9.773 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.341e-05/0.5061, allocations: 43.69 kB / 0.6326 GB, free: 9.73 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.938e-05/0.5062, allocations: 31.73 kB / 0.6326 GB, free: 9.699 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.5064, allocations: 19.86 kB / 0.6326 GB, free: 9.68 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.764e-05/0.5065, allocations: 23.91 kB / 0.6326 GB, free: 9.656 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.5065, allocations: 4 kB / 0.6326 GB, free: 9.652 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004763/0.507, allocations: 346.8 kB / 0.633 GB, free: 9.312 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.507, allocations: 0 / 0.633 GB, free: 9.312 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002586/0.5096, allocations: 0.85 MB / 0.6338 GB, free: 8.461 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.00566/0.5153, allocations: 1.886 MB / 0.6356 GB, free: 6.547 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009025/0.5162, allocations: 271.6 kB / 0.6359 GB, free: 6.281 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5162, allocations: 0 / 0.6359 GB, free: 6.281 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003362/0.5165, allocations: 140.8 kB / 0.636 GB, free: 6.145 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.5176, allocations: 182.3 kB / 0.6362 GB, free: 5.973 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00786/0.5255, allocations: 4.037 MB / 0.6402 GB, free: 1.758 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.5257, allocations: 247.7 kB / 0.6404 GB, free: 1.492 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003713/0.5261, allocations: 145.9 kB / 0.6405 GB, free: 1.352 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.5263, allocations: 164.4 kB / 0.6407 GB, free: 1.191 MB / 478.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5263, allocations: 0 / 0.6407 GB, free: 1.191 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09589/0.6222, allocations: 40.37 MB / 0.6801 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.08, allocations: 10.23 kB / 0.6801 GB, free: 9 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.470628114999272]