Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008407/0.0008407, allocations: 80.53 kB / 19.92 MB, free: 4.637 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.0008522/0.0008522, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9201/0.9201, allocations: 158.6 MB / 185 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1329/0.1329, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 406.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.198e-05, allocations: 6.078 kB / 406.9 MB, free: 2.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02519/0.02523, allocations: 27.39 MB / 434.2 MB, free: 6.738 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01428/0.0395, allocations: 13.79 MB / 448 MB, free: 8.898 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005152/0.04002, allocations: 15.88 kB / 448 MB, free: 8.883 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009457/0.04097, allocations: 202.5 kB / 448.2 MB, free: 8.684 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006958/0.04166, allocations: 290.1 kB / 448.5 MB, free: 8.398 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01313/0.05479, allocations: 5.634 MB / 454.2 MB, free: 2.742 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.05623, allocations: 0.8185 MB / 455 MB, free: 1.922 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003495/0.05658, allocations: 188.9 kB / 455.2 MB, free: 1.738 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007331/0.06391, allocations: 5.594 MB / 460.8 MB, free: 12.06 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004834/0.0644, allocations: 211.3 kB / 461 MB, free: 11.86 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.008e-05/0.06447, allocations: 28 kB / 461 MB, free: 11.83 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008802/0.07327, allocations: 5.841 MB / 466.8 MB, free: 5.977 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.07342, allocations: 99.59 kB / 466.9 MB, free: 5.879 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002294/0.07365, allocations: 127.8 kB / 467.1 MB, free: 5.754 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009587/0.08324, allocations: 4.631 MB / 471.7 MB, free: 1.113 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.08325, allocations: 0 / 471.7 MB, free: 1.113 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.08325, allocations: 0 / 471.7 MB, free: 1.113 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.08326, allocations: 0 / 471.7 MB, free: 1.113 MB / 442.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.002673/0.08593, allocations: 0.9469 MB / 472.6 MB, free: 136 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.08599, allocations: 8.031 kB / 472.6 MB, free: 128 kB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.911e-05/0.08605, allocations: 62.73 kB / 472.7 MB, free: 56 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1821/0.2681, allocations: 109 kB / 472.8 MB, free: 103.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005559/0.2687, allocations: 273.1 kB / 473.1 MB, free: 103.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.2687, allocations: 24.91 kB / 473.1 MB, free: 103.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.2687, allocations: 22 kB / 473.1 MB, free: 103.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007498/0.2695, allocations: 0.5941 MB / 473.7 MB, free: 102.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.2695, allocations: 5.578 kB / 473.7 MB, free: 102.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.2695, allocations: 11.06 kB / 473.7 MB, free: 102.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.2695, allocations: 11.14 kB / 473.7 MB, free: 102.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005587/0.2701, allocations: 364.2 kB / 474.1 MB, free: 102.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.2718, allocations: 1.784 MB / 475.9 MB, free: 101.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006208/0.2724, allocations: 265.3 kB / 476.1 MB, free: 101.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.2726, allocations: 95.06 kB / 476.2 MB, free: 101.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/0.2728, allocations: 96.75 kB / 476.3 MB, free: 101.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.2728, allocations: 33.75 kB / 476.4 MB, free: 101.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 3.176e-06/0.2728, allocations: 0 / 476.4 MB, free: 101.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009028/0.2737, allocations: 451.5 kB / 476.8 MB, free: 101.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.2737, allocations: 105.9 kB / 476.9 MB, free: 101.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.274, allocations: 324.8 kB / 477.2 MB, free: 101 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.274, allocations: 36.89 kB / 477.3 MB, free: 101 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/0.2741, allocations: 211.8 kB / 477.5 MB, free: 100.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.2741, allocations: 44.53 kB / 477.5 MB, free: 100.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/0.2741, allocations: 55.84 kB / 477.6 MB, free: 100.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.118e-05/0.2742, allocations: 339.8 kB / 477.9 MB, free: 100.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.2743, allocations: 95.58 kB / 478 MB, free: 100.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.2745, allocations: 256.1 kB / 478.2 MB, free: 100.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.2748, allocations: 272.2 kB / 478.5 MB, free: 99.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.2748, allocations: 7.031 kB / 478.5 MB, free: 99.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000384/0.2752, allocations: 316.8 kB / 478.8 MB, free: 99.85 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.2752, allocations: 12.75 kB / 478.8 MB, free: 99.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.2752, allocations: 6.094 kB / 478.8 MB, free: 99.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.2753, allocations: 4.156 kB / 478.8 MB, free: 99.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.2754, allocations: 65.47 kB / 478.9 MB, free: 99.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.2754, allocations: 6.406 kB / 478.9 MB, free: 99.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.2756, allocations: 41.47 kB / 479 MB, free: 99.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.2756, allocations: 14.44 kB / 479 MB, free: 99.83 MB / 442.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.0001181/0.2757, allocations: 158.1 kB / 479.1 MB, free: 99.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.2757, allocations: 35.66 kB / 479.2 MB, free: 99.67 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006369/0.2764, allocations: 0.7823 MB / 479.9 MB, free: 99.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.2764, allocations: 9.75 kB / 479.9 MB, free: 99.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.2764, allocations: 0.5 kB / 479.9 MB, free: 99.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2764, allocations: 0 / 479.9 MB, free: 99.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.2767, allocations: 485.9 kB / 480.4 MB, free: 99.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.2767, allocations: 3.281 kB / 480.4 MB, free: 99.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.2768, allocations: 44.16 kB / 480.5 MB, free: 99.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.2768, allocations: 0 / 480.5 MB, free: 99.03 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.2769, allocations: 7.125 kB / 480.5 MB, free: 99.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2769, allocations: 0.6562 kB / 480.5 MB, free: 99.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.2769, allocations: 10.41 kB / 480.5 MB, free: 99.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.2772, allocations: 474.7 kB / 481 MB, free: 98.76 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.2773, allocations: 47.47 kB / 481 MB, free: 98.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.2773, allocations: 27.81 kB / 481 MB, free: 98.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.2774, allocations: 16.83 kB / 481 MB, free: 98.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.2775, allocations: 20.5 kB / 481.1 MB, free: 98.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.2775, allocations: 3.125 kB / 481.1 MB, free: 98.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002158/0.2777, allocations: 345.8 kB / 481.4 MB, free: 98.56 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2777, allocations: 0 / 481.4 MB, free: 98.56 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002007/0.2797, allocations: 0.8456 MB / 482.2 MB, free: 98.45 MB / 442.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.003576/0.2833, allocations: 2.012 MB / 484.3 MB, free: 97.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005355/0.2838, allocations: 270.9 kB / 484.5 MB, free: 97.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.2838, allocations: 3.75 kB / 484.5 MB, free: 97.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.284, allocations: 144.7 kB / 484.7 MB, free: 97.42 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006529/0.2846, allocations: 175.9 kB / 484.8 MB, free: 97.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/0.2889, allocations: 3.996 MB / 488.8 MB, free: 95.01 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.289, allocations: 243.2 kB / 489.1 MB, free: 94.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002926/0.2893, allocations: 155.9 kB / 489.2 MB, free: 94.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.2894, allocations: 160.6 kB / 489.4 MB, free: 94.79 MB / 442.7 MB Notification: Performance of SimCode: time 1.493e-06/0.2894, allocations: 0 / 489.4 MB, free: 94.79 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06052/0.35, allocations: 40.34 MB / 0.5173 GB, free: 74.14 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.45/8.8, allocations: 8.062 kB / 0.5173 GB, free: 74.13 MB / 442.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv. Warning: Get data of variable specificEnthalpy.h_out from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv failed! Error: Could not read variable specificEnthalpy1.h_out in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv. Warning: Get data of variable specificEnthalpy1.h_out from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.16592566948384]