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.0008953/0.0008953, allocations: 79.69 kB / 20.02 MB, free: 4.504 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.0009656/0.0009656, allocations: 166 kB / 23.32 MB, free: 1.203 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.8784/0.8784, allocations: 158.6 MB / 185.1 MB, free: 3.023 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.1338/0.1338, allocations: 32.37 MB / 269.7 MB, free: 14.92 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 9.12e-07/9.12e-07, allocations: 0 / 407.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.288e-05/1.38e-05, allocations: 5.234 kB / 407.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02101/0.02102, allocations: 27.39 MB / 434.5 MB, free: 1.922 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.1943/0.2154, allocations: 13.78 MB / 448.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.2156, allocations: 13.69 kB / 448.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005975/0.2162, allocations: 206.8 kB / 448.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005144/0.2167, allocations: 284.6 kB / 448.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01315/0.2299, allocations: 5.637 MB / 454.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.2309, allocations: 0.819 MB / 455.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000338/0.2312, allocations: 188.9 kB / 455.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006519/0.2378, allocations: 5.611 MB / 461 MB, free: 11.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.238, allocations: 200.8 kB / 461.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.799e-05/0.2381, allocations: 29.53 kB / 461.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008891/0.247, allocations: 5.838 MB / 467 MB, free: 8.582 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.2471, allocations: 92.78 kB / 467.1 MB, free: 8.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.2472, allocations: 136.5 kB / 467.3 MB, free: 8.461 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005758/0.253, allocations: 4.622 MB / 471.9 MB, free: 5.414 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.253, allocations: 1.594 kB / 471.9 MB, free: 5.414 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.253, allocations: 0 / 471.9 MB, free: 5.414 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.253, allocations: 0 / 471.9 MB, free: 5.414 MB / 362.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.00155/0.2546, allocations: 0.9424 MB / 472.8 MB, free: 4.711 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.2546, allocations: 10.09 kB / 472.8 MB, free: 4.711 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.848e-05/0.2547, allocations: 58.92 kB / 472.9 MB, free: 4.652 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004713/0.2551, allocations: 111.8 kB / 473 MB, free: 4.605 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.2555, allocations: 285.2 kB / 473.3 MB, free: 4.359 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.2555, allocations: 24.06 kB / 473.3 MB, free: 4.348 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.2555, allocations: 23 kB / 473.3 MB, free: 4.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000621/0.2562, allocations: 0.594 MB / 473.9 MB, free: 3.844 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2562, allocations: 0 / 473.9 MB, free: 3.844 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.2562, allocations: 15.12 kB / 473.9 MB, free: 3.832 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.2562, allocations: 5.625 kB / 473.9 MB, free: 3.832 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005604/0.2568, allocations: 371.1 kB / 474.3 MB, free: 3.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.2582, allocations: 1.773 MB / 476.1 MB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/0.2588, allocations: 274.8 kB / 476.3 MB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.2589, allocations: 96.73 kB / 476.4 MB, free: 1.828 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.2591, allocations: 99.91 kB / 476.5 MB, free: 1.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.2591, allocations: 34.56 kB / 476.6 MB, free: 1.688 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.2591, allocations: 0 / 476.6 MB, free: 1.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008144/0.2599, allocations: 453.2 kB / 477 MB, free: 1.238 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.2599, allocations: 106.8 kB / 477.1 MB, free: 1.109 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.2601, allocations: 324.4 kB / 477.4 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.2601, allocations: 33.7 kB / 477.5 MB, free: 0.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.2602, allocations: 210 kB / 477.7 MB, free: 0.543 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.2602, allocations: 43.69 kB / 477.7 MB, free: 0.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.2603, allocations: 57.66 kB / 477.8 MB, free: 448 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.405e-05/0.2603, allocations: 342.8 kB / 478.1 MB, free: 96 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.2604, allocations: 89.33 kB / 478.2 MB, free: 8 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.2607, allocations: 252.9 kB / 478.4 MB, free: 15.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.261, allocations: 285.4 kB / 478.7 MB, free: 15.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.261, allocations: 7.938 kB / 478.7 MB, free: 15.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004272/0.2615, allocations: 313 kB / 479 MB, free: 15.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.2615, allocations: 8 kB / 479 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.2615, allocations: 4.469 kB / 479 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.2615, allocations: 4 kB / 479 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.2617, allocations: 71.89 kB / 479.1 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.2617, allocations: 7.938 kB / 479.1 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.2618, allocations: 39.75 kB / 479.2 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.2618, allocations: 19.94 kB / 479.2 MB, free: 14.89 MB / 378.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.0001196/0.2619, allocations: 153 kB / 479.3 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.262, allocations: 35.8 kB / 479.4 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007025/0.2627, allocations: 0.7765 MB / 480.1 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.2627, allocations: 11.98 kB / 480.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2627, allocations: 0 / 480.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2627, allocations: 0 / 480.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.263, allocations: 496.7 kB / 480.6 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.263, allocations: 0 / 480.6 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.87e-05/0.2631, allocations: 43.89 kB / 480.7 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2631, allocations: 0 / 480.7 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.2632, allocations: 0 / 480.7 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2632, allocations: 4 kB / 480.7 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.2632, allocations: 3.984 kB / 480.7 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.2636, allocations: 478.9 kB / 481.2 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.2636, allocations: 47.64 kB / 481.2 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.2637, allocations: 19.78 kB / 481.2 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.812e-05/0.2638, allocations: 19.98 kB / 481.2 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.2638, allocations: 19.95 kB / 481.3 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.2638, allocations: 4 kB / 481.3 MB, free: 12.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002511/0.2641, allocations: 342.9 kB / 481.6 MB, free: 12.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2641, allocations: 3.938 kB / 481.6 MB, free: 12.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001809/0.2659, allocations: 0.8577 MB / 482.5 MB, free: 11.54 MB / 378.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.003152/0.269, allocations: 2.011 MB / 484.5 MB, free: 9.602 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007256/0.2698, allocations: 272.4 kB / 484.7 MB, free: 9.336 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2698, allocations: 0 / 484.7 MB, free: 9.336 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.2699, allocations: 143.9 kB / 484.9 MB, free: 9.195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005205/0.2704, allocations: 183.7 kB / 485.1 MB, free: 9.016 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/0.2741, allocations: 4.009 MB / 489.1 MB, free: 4.848 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.2743, allocations: 243.7 kB / 489.3 MB, free: 4.586 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000241/0.2745, allocations: 146.7 kB / 489.5 MB, free: 4.438 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.2747, allocations: 160.4 kB / 489.6 MB, free: 4.281 MB / 378.7 MB Notification: Performance of SimCode: time 7.22e-07/0.2747, allocations: 0 / 489.6 MB, free: 4.281 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05638/0.3311, allocations: 40.22 MB / 0.5174 GB, free: 12.01 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/8.469, allocations: 0 / 0.5174 GB, free: 12.01 MB / 426.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: 10.705651077441871]