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.00121/0.00121, 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.00157/0.00157, 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.9309/0.9309, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2896/0.2896, allocations: 34.25 MB / 294.9 MB, free: 0.7344 MB / 266.7 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 2.284e-06/2.284e-06, allocations: 0 / 442.2 MB, free: 1.688 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.874e-05, allocations: 2.281 kB / 442.2 MB, free: 1.684 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.2353/0.2353, allocations: 27.52 MB / 469.7 MB, free: 27.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01124/0.2466, allocations: 13.8 MB / 483.5 MB, free: 18.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005937/0.2472, allocations: 14.25 kB / 483.5 MB, free: 18.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008746/0.248, allocations: 202.3 kB / 483.7 MB, free: 18.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006027/0.2486, allocations: 285.8 kB / 484 MB, free: 17.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01195/0.2606, allocations: 5.669 MB / 489.7 MB, free: 15.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008548/0.2614, allocations: 0.8244 MB / 490.5 MB, free: 15.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002739/0.2617, allocations: 197.5 kB / 490.7 MB, free: 14.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006675/0.2684, allocations: 5.607 MB / 496.3 MB, free: 12.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004482/0.2688, allocations: 211.7 kB / 496.5 MB, free: 12.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.027e-05/0.2689, allocations: 27.94 kB / 496.5 MB, free: 12.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009765/0.2787, allocations: 5.856 MB / 0.4906 GB, free: 11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.2789, allocations: 97.48 kB / 0.4907 GB, free: 10.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002929/0.2791, allocations: 130.4 kB / 0.4908 GB, free: 10.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01353/0.2927, allocations: 4.654 MB / 0.4954 GB, free: 8.992 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.2927, allocations: 0 / 0.4954 GB, free: 8.992 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2927, allocations: 0 / 0.4954 GB, free: 8.992 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.2927, allocations: 0 / 0.4954 GB, free: 8.992 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.003822/0.2965, allocations: 0.9399 MB / 0.4963 GB, free: 8.293 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.2966, allocations: 16.94 kB / 0.4963 GB, free: 8.285 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.05e-05/0.2966, allocations: 65.5 kB / 0.4964 GB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006118/0.2972, allocations: 118 kB / 0.4965 GB, free: 8.176 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000481/0.2977, allocations: 279.4 kB / 0.4967 GB, free: 7.934 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.2977, allocations: 24.28 kB / 0.4968 GB, free: 7.922 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.2978, allocations: 28.84 kB / 0.4968 GB, free: 7.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007804/0.2986, allocations: 0.5954 MB / 0.4974 GB, free: 7.414 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.2986, allocations: 7.938 kB / 0.4974 GB, free: 7.406 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.2986, allocations: 12.34 kB / 0.4974 GB, free: 7.398 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.2986, allocations: 7.422 kB / 0.4974 GB, free: 7.398 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006558/0.2993, allocations: 365.1 kB / 0.4977 GB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.3011, allocations: 1.777 MB / 0.4995 GB, free: 5.707 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006686/0.3018, allocations: 266.8 kB / 0.4997 GB, free: 5.566 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.3019, allocations: 93.5 kB / 0.4998 GB, free: 5.516 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/0.3021, allocations: 90.8 kB / 0.4999 GB, free: 5.477 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.3021, allocations: 44.73 kB / 0.5 GB, free: 5.426 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/0.3021, allocations: 6.562 kB / 0.5 GB, free: 5.422 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.000983/0.3031, allocations: 452.4 kB / 0.5004 GB, free: 5.195 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.3032, allocations: 105 kB / 0.5005 GB, free: 5.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.3034, allocations: 329.2 kB / 0.5008 GB, free: 4.852 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.3035, allocations: 30.83 kB / 0.5008 GB, free: 4.816 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.418e-05/0.3036, allocations: 210.1 kB / 0.501 GB, free: 4.625 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.3036, allocations: 42.16 kB / 0.5011 GB, free: 4.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.079e-05/0.3036, allocations: 57.69 kB / 0.5011 GB, free: 4.547 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.236e-05/0.3037, allocations: 342.5 kB / 0.5015 GB, free: 4.211 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.3038, allocations: 89.28 kB / 0.5015 GB, free: 4.168 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.304, allocations: 257.9 kB / 0.5018 GB, free: 3.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.3043, allocations: 280.6 kB / 0.5021 GB, free: 3.688 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.3043, allocations: 0 / 0.5021 GB, free: 3.688 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004623/0.3048, allocations: 324.9 kB / 0.5024 GB, free: 3.512 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.3048, allocations: 5.812 kB / 0.5024 GB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3048, allocations: 8.156 kB / 0.5024 GB, free: 3.508 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.3049, allocations: 5.25 kB / 0.5024 GB, free: 3.508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.305, allocations: 66.11 kB / 0.5024 GB, free: 3.488 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.305, allocations: 9.281 kB / 0.5025 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.3052, allocations: 45.05 kB / 0.5025 GB, free: 3.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.3052, allocations: 10.25 kB / 0.5025 GB, free: 3.457 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.0001247/0.3054, allocations: 153.2 kB / 0.5027 GB, free: 3.316 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.3054, allocations: 33.75 kB / 0.5027 GB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008136/0.3062, allocations: 0.7961 MB / 0.5035 GB, free: 2.824 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.3062, allocations: 2.25 kB / 0.5035 GB, free: 2.824 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.3062, allocations: 0 / 0.5035 GB, free: 2.824 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3062, allocations: 5.078 kB / 0.5035 GB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005089/0.3068, allocations: 491.2 kB / 0.5039 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.3068, allocations: 0 / 0.5039 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.3069, allocations: 44.61 kB / 0.504 GB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3069, allocations: 1.281 kB / 0.504 GB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.3069, allocations: 5.219 kB / 0.504 GB, free: 2.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3069, allocations: 1.188 kB / 0.504 GB, free: 2.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3069, allocations: 0 / 0.504 GB, free: 2.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/0.3073, allocations: 486.2 kB / 0.5045 GB, free: 2.113 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/0.3074, allocations: 39.41 kB / 0.5045 GB, free: 2.086 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.3074, allocations: 20.28 kB / 0.5045 GB, free: 2.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3075, allocations: 17.23 kB / 0.5045 GB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.3076, allocations: 18.72 kB / 0.5045 GB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.3076, allocations: 4.75 kB / 0.5045 GB, free: 2.051 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002786/0.3079, allocations: 347.5 kB / 0.5049 GB, free: 1.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3079, allocations: 0 / 0.5049 GB, free: 1.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003715/0.3116, allocations: 0.8551 MB / 0.5057 GB, free: 1.684 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.006107/0.3177, allocations: 2.003 MB / 0.5077 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006089/0.3183, allocations: 268.9 kB / 0.5079 GB, free: 412 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3183, allocations: 3.938 kB / 0.5079 GB, free: 408 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.3185, allocations: 135 kB / 0.5081 GB, free: 348 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007023/0.3192, allocations: 181.8 kB / 0.5082 GB, free: 256 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007215/0.3264, allocations: 4.03 MB / 0.5122 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.3266, allocations: 242.9 kB / 0.5124 GB, free: 13.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003172/0.3269, allocations: 153.5 kB / 0.5125 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.3271, allocations: 161.1 kB / 0.5127 GB, free: 13.09 MB / 426.7 MB Notification: Performance of SimCode: time 1.804e-06/0.3271, allocations: 1.375 kB / 0.5127 GB, free: 13.09 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06396/0.3911, allocations: 40.42 MB / 0.5522 GB, free: 5.211 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.575/8.966, allocations: 0 / 0.5522 GB, free: 5.211 MB / 458.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins/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: 11.304497804492712]