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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 117.9 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 192.7 kB / 20.07 MB, free: 2.992 MB / 14.72 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 1.578/1.578, allocations: 207.6 MB / 230.5 MB, free: 4.055 MB / 174.1 MB " [Timeout remaining time 178] 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.3753/0.3753, allocations: 44.24 MB / 326.5 MB, free: 6.828 MB / 254.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 75.89 kB / 462.2 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3112, allocations: 60.99 MB / 0.5109 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03133/0.3426, allocations: 30.24 MB / 0.5404 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02026/0.3628, allocations: 15.57 MB / 0.5556 GB, free: 1.062 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003712/0.3632, allocations: 11.94 kB / 0.5556 GB, free: 1.051 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000758/0.364, allocations: 218.6 kB / 0.5559 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007055/0.3647, allocations: 286.4 kB / 0.5561 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01658/0.3812, allocations: 5.608 MB / 0.5616 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001352/0.3826, allocations: 0.8186 MB / 0.5624 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003925/0.383, allocations: 192.5 kB / 0.5626 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0118/0.3948, allocations: 5.478 MB / 0.5679 GB, free: 4.359 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004772/0.3953, allocations: 254.9 kB / 0.5682 GB, free: 4.109 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.602e-05/0.3953, allocations: 28 kB / 0.5682 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01131/0.4066, allocations: 6.087 MB / 0.5741 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.4069, allocations: 95.59 kB / 0.5742 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003476/0.4072, allocations: 179.2 kB / 0.5744 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009406/0.4166, allocations: 3.656 MB / 0.578 GB, free: 10.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4166, allocations: 0 / 0.578 GB, free: 10.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4166, allocations: 0 / 0.578 GB, free: 10.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.4166, allocations: 0 / 0.578 GB, free: 10.05 MB / 446.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.002733/0.4194, allocations: 1.026 MB / 0.579 GB, free: 8.977 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.4194, allocations: 15.89 kB / 0.579 GB, free: 8.961 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.041e-05/0.4195, allocations: 58.73 kB / 0.5791 GB, free: 8.895 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009163/0.4204, allocations: 112.6 kB / 0.5792 GB, free: 8.785 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005474/0.421, allocations: 342.7 kB / 0.5795 GB, free: 8.414 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.421, allocations: 24.94 kB / 0.5795 GB, free: 8.391 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.4211, allocations: 28.12 kB / 0.5795 GB, free: 8.363 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.4222, allocations: 450.9 kB / 0.58 GB, free: 7.879 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.4222, allocations: 0 / 0.58 GB, free: 7.879 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.4222, allocations: 16 kB / 0.58 GB, free: 7.863 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.4222, allocations: 4 kB / 0.58 GB, free: 7.859 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.4233, allocations: 373.2 kB / 0.5803 GB, free: 7.496 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003391/0.4267, allocations: 2.376 MB / 0.5827 GB, free: 4.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009831/0.4277, allocations: 274.2 kB / 0.5829 GB, free: 4.633 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.428, allocations: 96.78 kB / 0.583 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004951/0.4285, allocations: 489.4 kB / 0.5835 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.4285, allocations: 34.56 kB / 0.5835 GB, free: 3.922 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.462e-06/0.4285, allocations: 0 / 0.5835 GB, free: 3.922 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001665/0.4302, allocations: 453.3 kB / 0.5839 GB, free: 3.473 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.438e-05/0.4302, allocations: 106.8 kB / 0.5841 GB, free: 3.344 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004379/0.4307, allocations: 320.5 kB / 0.5844 GB, free: 3.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.4307, allocations: 29.7 kB / 0.5844 GB, free: 2.984 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.4309, allocations: 216 kB / 0.5846 GB, free: 2.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.4309, allocations: 39.69 kB / 0.5846 GB, free: 2.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.166e-05/0.431, allocations: 53.66 kB / 0.5847 GB, free: 2.672 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.4312, allocations: 342.8 kB / 0.585 GB, free: 2.328 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.4314, allocations: 83.92 kB / 0.5851 GB, free: 2.246 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.4318, allocations: 207.4 kB / 0.5853 GB, free: 1.988 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006039/0.4324, allocations: 285.4 kB / 0.5856 GB, free: 1.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4324, allocations: 0 / 0.5856 GB, free: 1.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007667/0.4332, allocations: 313 kB / 0.5859 GB, free: 1.348 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.4332, allocations: 8 kB / 0.5859 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4332, allocations: 4.469 kB / 0.5859 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.4332, allocations: 8 kB / 0.5859 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.4335, allocations: 67.83 kB / 0.5859 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.4335, allocations: 8 kB / 0.5859 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.4338, allocations: 39.77 kB / 0.586 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.4338, allocations: 19.92 kB / 0.586 GB, free: 1.195 MB / 446.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.0001858/0.434, allocations: 153.7 kB / 0.5862 GB, free: 1.035 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.315e-05/0.434, allocations: 35.81 kB / 0.5862 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.4353, allocations: 0.7448 MB / 0.5869 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.4353, allocations: 11.92 kB / 0.5869 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4353, allocations: 4 kB / 0.5869 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4353, allocations: 4 kB / 0.5869 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000668/0.436, allocations: 0.5261 MB / 0.5874 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.436, allocations: 3.938 kB / 0.5874 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.4362, allocations: 47.89 kB / 0.5875 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4362, allocations: 0 / 0.5875 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.4362, allocations: 8 kB / 0.5875 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.4362, allocations: 3.938 kB / 0.5875 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4362, allocations: 4 kB / 0.5875 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008063/0.437, allocations: 458 kB / 0.5879 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.4371, allocations: 120.7 kB / 0.5881 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-05/0.4372, allocations: 27.78 kB / 0.5881 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.4374, allocations: 19.92 kB / 0.5881 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.105e-05/0.4375, allocations: 19.97 kB / 0.5881 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.4375, allocations: 4 kB / 0.5881 GB, free: 14.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003912/0.4379, allocations: 338.9 kB / 0.5885 GB, free: 14.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4379, allocations: 0 / 0.5885 GB, free: 14.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002505/0.4404, allocations: 0.85 MB / 0.5893 GB, free: 13.72 MB / 462.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.00572/0.4461, allocations: 1.904 MB / 0.5911 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007775/0.4469, allocations: 263.7 kB / 0.5914 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4469, allocations: 0.9375 kB / 0.5914 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003214/0.4472, allocations: 143.8 kB / 0.5915 GB, free: 11.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.4482, allocations: 185.8 kB / 0.5917 GB, free: 11.22 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007113/0.4553, allocations: 4.015 MB / 0.5956 GB, free: 7.027 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.4558, allocations: 0.8424 MB / 0.5965 GB, free: 6.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003746/0.4562, allocations: 138.7 kB / 0.5966 GB, free: 6.023 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.4564, allocations: 159.4 kB / 0.5967 GB, free: 5.867 MB / 462.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4564, allocations: 4 kB / 0.5967 GB, free: 5.863 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08692/0.5433, allocations: 38.98 MB / 0.6348 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11.05, allocations: 11.78 kB / 0.6348 GB, free: 14.8 MB / 0.4981 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.30591619387269]