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.001424/0.001424, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001524/0.001524, allocations: 214.7 kB / 23.75 MB, free: 4.668 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.555/1.555, allocations: 230.6 MB / 257.5 MB, free: 8 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.2454/0.2454, allocations: 46.93 MB / 360.9 MB, free: 4.285 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.002229/0.002229, allocations: 75.89 kB / 0.4962 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3735, allocations: 66.03 MB / 0.5606 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03847/0.4119, allocations: 30.62 MB / 0.5905 GB, free: 5.746 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02388/0.4358, allocations: 15.68 MB / 0.6059 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004968/0.4363, allocations: 15.88 kB / 0.6059 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007846/0.4371, allocations: 218.5 kB / 0.6061 GB, free: 5.789 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007823/0.4379, allocations: 282.4 kB / 0.6064 GB, free: 5.512 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02065/0.4585, allocations: 5.657 MB / 0.6119 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00152/0.46, allocations: 0.8381 MB / 0.6127 GB, free: 15.02 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004189/0.4605, allocations: 189 kB / 0.6129 GB, free: 14.83 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01244/0.4729, allocations: 5.517 MB / 0.6183 GB, free: 9.23 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005508/0.4735, allocations: 247 kB / 0.6185 GB, free: 8.988 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.321e-05/0.4735, allocations: 28 kB / 0.6185 GB, free: 8.961 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01345/0.487, allocations: 6.115 MB / 0.6245 GB, free: 2.84 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.4872, allocations: 91.69 kB / 0.6246 GB, free: 2.75 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003197/0.4875, allocations: 187.2 kB / 0.6248 GB, free: 2.566 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008984/0.4965, allocations: 3.679 MB / 0.6284 GB, free: 14.88 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.4965, allocations: 0 / 0.6284 GB, free: 14.88 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4965, allocations: 0 / 0.6284 GB, free: 14.88 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.4965, allocations: 0 / 0.6284 GB, free: 14.88 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.002606/0.4991, allocations: 0.9508 MB / 0.6293 GB, free: 13.89 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.4992, allocations: 12.03 kB / 0.6293 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.946e-05/0.4993, allocations: 66.72 kB / 0.6294 GB, free: 13.81 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.5003, allocations: 120.6 kB / 0.6295 GB, free: 13.69 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006141/0.5009, allocations: 284.8 kB / 0.6297 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.5009, allocations: 24.88 kB / 0.6298 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.501, allocations: 28.12 kB / 0.6298 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.5021, allocations: 454.1 kB / 0.6302 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.5021, allocations: 3.938 kB / 0.6302 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.5022, allocations: 16 kB / 0.6302 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.5022, allocations: 4 kB / 0.6302 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.5032, allocations: 365.3 kB / 0.6306 GB, free: 12.47 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003124/0.5063, allocations: 2.19 MB / 0.6327 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.5073, allocations: 270.3 kB / 0.633 GB, free: 9.836 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.5076, allocations: 92.8 kB / 0.6331 GB, free: 9.742 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002711/0.5079, allocations: 99.91 kB / 0.6332 GB, free: 9.645 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.5079, allocations: 34.56 kB / 0.6332 GB, free: 9.602 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.5079, allocations: 0 / 0.6332 GB, free: 9.602 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001723/0.5097, allocations: 457.2 kB / 0.6336 GB, free: 9.148 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.15e-05/0.5097, allocations: 114.7 kB / 0.6338 GB, free: 9.012 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.5101, allocations: 328.4 kB / 0.6341 GB, free: 8.68 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.5102, allocations: 29.7 kB / 0.6341 GB, free: 8.645 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.5103, allocations: 211.9 kB / 0.6343 GB, free: 8.434 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.5104, allocations: 39.67 kB / 0.6343 GB, free: 8.395 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.981e-05/0.5105, allocations: 61.64 kB / 0.6344 GB, free: 8.328 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.5106, allocations: 338.8 kB / 0.6347 GB, free: 7.988 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.5109, allocations: 83.92 kB / 0.6348 GB, free: 7.906 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.5113, allocations: 211.3 kB / 0.635 GB, free: 7.645 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000607/0.5119, allocations: 273.5 kB / 0.6353 GB, free: 7.328 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.5119, allocations: 0 / 0.6353 GB, free: 7.328 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007458/0.5126, allocations: 324.9 kB / 0.6356 GB, free: 7.004 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.5126, allocations: 8 kB / 0.6356 GB, free: 6.996 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.5127, allocations: 4.469 kB / 0.6356 GB, free: 6.992 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.5127, allocations: 8 kB / 0.6356 GB, free: 6.984 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.5129, allocations: 67.83 kB / 0.6357 GB, free: 6.918 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.513, allocations: 8 kB / 0.6357 GB, free: 6.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.5132, allocations: 43.72 kB / 0.6357 GB, free: 6.867 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.5132, allocations: 8 kB / 0.6357 GB, free: 6.859 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.0001785/0.5134, allocations: 157.7 kB / 0.6359 GB, free: 6.695 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.5135, allocations: 35.81 kB / 0.6359 GB, free: 6.66 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.5147, allocations: 0.7645 MB / 0.6366 GB, free: 5.887 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.5147, allocations: 7.938 kB / 0.6367 GB, free: 5.879 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5147, allocations: 7.984 kB / 0.6367 GB, free: 5.871 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.5147, allocations: 3.984 kB / 0.6367 GB, free: 5.867 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006076/0.5153, allocations: 0.5057 MB / 0.6372 GB, free: 5.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5153, allocations: 4 kB / 0.6372 GB, free: 5.316 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.5155, allocations: 39.95 kB / 0.6372 GB, free: 5.277 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.5155, allocations: 0 / 0.6372 GB, free: 5.277 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.5155, allocations: 3.984 kB / 0.6372 GB, free: 5.273 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.5155, allocations: 3.938 kB / 0.6372 GB, free: 5.27 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5155, allocations: 8 kB / 0.6372 GB, free: 5.262 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007417/0.5163, allocations: 478.5 kB / 0.6377 GB, free: 4.777 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.736e-05/0.5163, allocations: 43.64 kB / 0.6377 GB, free: 4.734 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.569e-05/0.5164, allocations: 27.73 kB / 0.6377 GB, free: 4.707 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.5166, allocations: 27.91 kB / 0.6378 GB, free: 4.68 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.5167, allocations: 19.97 kB / 0.6378 GB, free: 4.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.5167, allocations: 4 kB / 0.6378 GB, free: 4.656 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003909/0.5171, allocations: 338.9 kB / 0.6381 GB, free: 4.324 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5171, allocations: 0 / 0.6381 GB, free: 4.324 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002344/0.5194, allocations: 0.85 MB / 0.6389 GB, free: 3.473 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.004741/0.5242, allocations: 1.891 MB / 0.6408 GB, free: 1.555 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008201/0.525, allocations: 259.7 kB / 0.641 GB, free: 1.301 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.525, allocations: 0 / 0.641 GB, free: 1.301 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.5253, allocations: 144.8 kB / 0.6412 GB, free: 1.16 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009925/0.5263, allocations: 192.5 kB / 0.6414 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006823/0.5331, allocations: 4.037 MB / 0.6453 GB, free: 12.76 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.5336, allocations: 0.8461 MB / 0.6461 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003626/0.5339, allocations: 141 kB / 0.6463 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.5342, allocations: 163.4 kB / 0.6464 GB, free: 11.59 MB / 494.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5342, allocations: 0 / 0.6464 GB, free: 11.59 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08588/0.6201, allocations: 39.47 MB / 0.685 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.12, allocations: 10.75 kB / 0.685 GB, free: 4.277 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.44212316100311]