Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001152/0.001152, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009578/0.0009578, allocations: 170 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9052/0.9052, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2279/0.2279, allocations: 32.78 MB / 293.5 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.624e-06/1.624e-06, allocations: 0 / 439.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.615e-05, allocations: 2.281 kB / 439.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.1879/0.1879, allocations: 27.53 MB / 467.1 MB, free: 30.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009903/0.1978, allocations: 13.8 MB / 480.9 MB, free: 21.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002947/0.1981, allocations: 13.28 kB / 480.9 MB, free: 21.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006065/0.1987, allocations: 202 kB / 481.1 MB, free: 21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005021/0.1992, allocations: 291.7 kB / 481.4 MB, free: 20.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01135/0.2106, allocations: 5.67 MB / 487.1 MB, free: 18.4 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008584/0.2115, allocations: 0.8283 MB / 487.9 MB, free: 18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002984/0.2117, allocations: 198.5 kB / 488.1 MB, free: 17.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006014/0.2178, allocations: 5.607 MB / 493.7 MB, free: 15.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003918/0.2182, allocations: 207.8 kB / 493.9 MB, free: 15.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.415e-05/0.2182, allocations: 28.91 kB / 493.9 MB, free: 15.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009288/0.2275, allocations: 5.852 MB / 499.8 MB, free: 13.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.2277, allocations: 90.08 kB / 499.9 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002469/0.2279, allocations: 138.7 kB / 0.4883 GB, free: 13.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.2381, allocations: 4.656 MB / 0.4928 GB, free: 12.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2381, allocations: 0 / 0.4928 GB, free: 12.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.2381, allocations: 1.344 kB / 0.4928 GB, free: 12.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.2381, allocations: 0 / 0.4928 GB, free: 12.33 MB / 410.7 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.003531/0.2416, allocations: 0.9433 MB / 0.4938 GB, free: 11.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.2417, allocations: 9.625 kB / 0.4938 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.577e-05/0.2417, allocations: 62.97 kB / 0.4938 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005685/0.2423, allocations: 125.3 kB / 0.494 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.2427, allocations: 277.1 kB / 0.4942 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.2427, allocations: 27.81 kB / 0.4942 GB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.2427, allocations: 28.81 kB / 0.4943 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000686/0.2434, allocations: 0.5911 MB / 0.4948 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.2434, allocations: 1.094 kB / 0.4948 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.2435, allocations: 15.28 kB / 0.4949 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.2435, allocations: 7.156 kB / 0.4949 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006207/0.2441, allocations: 372.3 kB / 0.4952 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.2459, allocations: 1.773 MB / 0.497 GB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005938/0.2464, allocations: 265.3 kB / 0.4972 GB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.2466, allocations: 93.22 kB / 0.4973 GB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001914/0.2468, allocations: 103.2 kB / 0.4974 GB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.2468, allocations: 33.72 kB / 0.4974 GB, free: 8.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 2.816e-06/0.2468, allocations: 0 / 0.4974 GB, free: 8.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009084/0.2477, allocations: 453.6 kB / 0.4979 GB, free: 8.539 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.2477, allocations: 111.2 kB / 0.498 GB, free: 8.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.248, allocations: 333.8 kB / 0.4983 GB, free: 8.188 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.248, allocations: 27.05 kB / 0.4983 GB, free: 8.156 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.2481, allocations: 214.3 kB / 0.4985 GB, free: 7.961 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.2481, allocations: 37.06 kB / 0.4986 GB, free: 7.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.337e-05/0.2482, allocations: 58.97 kB / 0.4986 GB, free: 7.887 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.996e-05/0.2482, allocations: 342.3 kB / 0.4989 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.2484, allocations: 84.55 kB / 0.499 GB, free: 7.512 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.2485, allocations: 258 kB / 0.4993 GB, free: 7.254 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.2489, allocations: 282.4 kB / 0.4995 GB, free: 7.027 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2489, allocations: 5.125 kB / 0.4995 GB, free: 7.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004282/0.2493, allocations: 324 kB / 0.4998 GB, free: 6.848 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.2493, allocations: 6.688 kB / 0.4998 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.2493, allocations: 3.469 kB / 0.4999 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.2493, allocations: 5.625 kB / 0.4999 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.2495, allocations: 65.08 kB / 0.4999 GB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.2495, allocations: 5.594 kB / 0.4999 GB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.2497, allocations: 40.64 kB / 0.5 GB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.2497, allocations: 17.94 kB / 0.5 GB, free: 6.797 MB / 410.7 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.0001226/0.2498, allocations: 158.1 kB / 0.5001 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.2499, allocations: 34.62 kB / 0.5002 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007544/0.2506, allocations: 0.7988 MB / 0.5009 GB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.2506, allocations: 6.578 kB / 0.501 GB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.2506, allocations: 0 / 0.501 GB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.2506, allocations: 0 / 0.501 GB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.251, allocations: 487.5 kB / 0.5014 GB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.251, allocations: 2.438 kB / 0.5014 GB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.2511, allocations: 45.02 kB / 0.5015 GB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2512, allocations: 8.062 kB / 0.5015 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.2512, allocations: 1.062 kB / 0.5015 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.2512, allocations: 1.062 kB / 0.5015 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2512, allocations: 0 / 0.5015 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000447/0.2516, allocations: 481 kB / 0.5019 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.2517, allocations: 38.28 kB / 0.502 GB, free: 5.426 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.2517, allocations: 26.59 kB / 0.502 GB, free: 5.406 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.2518, allocations: 17.36 kB / 0.502 GB, free: 5.398 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.2519, allocations: 18.78 kB / 0.502 GB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.2519, allocations: 7.547 kB / 0.502 GB, free: 5.383 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002405/0.2521, allocations: 343.8 kB / 0.5024 GB, free: 5.176 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2521, allocations: 0 / 0.5024 GB, free: 5.176 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004003/0.2561, allocations: 0.8594 MB / 0.5032 GB, free: 5.016 MB / 410.7 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.006021/0.2621, allocations: 2.011 MB / 0.5052 GB, free: 3.852 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005167/0.2627, allocations: 269.3 kB / 0.5054 GB, free: 3.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.2627, allocations: 5.484 kB / 0.5054 GB, free: 3.727 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.2628, allocations: 134.7 kB / 0.5056 GB, free: 3.668 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006649/0.2635, allocations: 180.5 kB / 0.5057 GB, free: 3.578 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005681/0.2692, allocations: 4.013 MB / 0.5096 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.2693, allocations: 245.8 kB / 0.5099 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002953/0.2696, allocations: 152.5 kB / 0.51 GB, free: 0.582 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.2697, allocations: 160.5 kB / 0.5102 GB, free: 452 kB / 410.7 MB Notification: Performance of SimCode: time 1.313e-06/0.2697, allocations: 3.375 kB / 0.5102 GB, free: 452 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06072/0.3305, allocations: 40.42 MB / 0.5497 GB, free: 9.297 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.646/8.977, allocations: 6.109 kB / 0.5497 GB, free: 9.297 MB / 458.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv. Warning: Get data of variable specificEnthalpy.h_out from file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv failed! Error: Could not read variable specificEnthalpy1.h_out in file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv. Warning: Get data of variable specificEnthalpy1.h_out from file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.189569058828056]