Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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.001912/0.001912, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002428/0.002428, allocations: 215.9 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.2312/0.2312, allocations: 46.97 MB / 360.9 MB, free: 4.109 MB / 286.1 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.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 71.89 kB / 0.4961 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3333, allocations: 66.04 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01765/0.351, allocations: 11.46 MB / 0.5718 GB, free: 8.727 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.3526, allocations: 1.226 MB / 0.573 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.3526, allocations: 3.938 kB / 0.573 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.3528, allocations: 19.91 kB / 0.573 GB, free: 7.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005629/0.3584, allocations: 2.22 MB / 0.5752 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.132e-06/0.3584, allocations: 0 / 0.5752 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.3586, allocations: 39.73 kB / 0.5752 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.429e-05/0.3586, allocations: 4 kB / 0.5752 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.404e-05/0.3587, allocations: 15.92 kB / 0.5752 GB, free: 5.199 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.16e-05/0.3588, allocations: 15.94 kB / 0.5752 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.3588, allocations: 11.86 kB / 0.5752 GB, free: 5.172 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006635/0.3654, allocations: 3.695 MB / 0.5789 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.3654, allocations: 11.98 kB / 0.5789 GB, free: 1.461 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.3655, allocations: 11.94 kB / 0.5789 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003286/0.3688, allocations: 1.973 MB / 0.5808 GB, free: 15.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3688, allocations: 0 / 0.5808 GB, free: 15.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.3688, allocations: 0 / 0.5808 GB, free: 15.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.3688, allocations: 0 / 0.5808 GB, free: 15.47 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001117/0.3699, allocations: 0.5005 MB / 0.5813 GB, free: 14.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.3699, allocations: 8.031 kB / 0.5813 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.37, allocations: 30.75 kB / 0.5813 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.3701, allocations: 20.88 kB / 0.5813 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.3702, allocations: 106.5 kB / 0.5814 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.3702, allocations: 384 / 0.5814 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.3703, allocations: 8.359 kB / 0.5815 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.3705, allocations: 95.23 kB / 0.5815 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3705, allocations: 0 / 0.5815 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.3705, allocations: 0 / 0.5815 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3706, allocations: 3.984 kB / 0.5816 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.3707, allocations: 51.97 kB / 0.5816 GB, free: 14.58 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.3712, allocations: 324.1 kB / 0.5819 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.3713, allocations: 58.47 kB / 0.582 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/0.3714, allocations: 8.859 kB / 0.582 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02003/0.3914, allocations: 5.691 MB / 0.5875 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.3914, allocations: 30.56 kB / 0.5876 GB, free: 8.398 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.635e-06/0.3914, allocations: 0 / 0.5876 GB, free: 8.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.000534/0.392, allocations: 105.6 kB / 0.5877 GB, free: 8.289 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.392, allocations: 51.41 kB / 0.5877 GB, free: 8.227 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.3921, allocations: 105.8 kB / 0.5878 GB, free: 8.113 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.3922, allocations: 25.7 kB / 0.5878 GB, free: 8.082 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.009e-05/0.3922, allocations: 88.09 kB / 0.5879 GB, free: 7.992 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.3922, allocations: 19.83 kB / 0.5879 GB, free: 7.973 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.3923, allocations: 17.72 kB / 0.588 GB, free: 7.949 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3924, allocations: 322.8 kB / 0.5883 GB, free: 7.625 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.536e-05/0.3925, allocations: 7.984 kB / 0.5883 GB, free: 7.617 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.153e-05/0.3925, allocations: 26.58 kB / 0.5883 GB, free: 7.582 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.121e-05/0.3926, allocations: 42.5 kB / 0.5883 GB, free: 7.531 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3926, allocations: 0 / 0.5883 GB, free: 7.531 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000138/0.3927, allocations: 73.52 kB / 0.5884 GB, free: 7.453 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3927, allocations: 4 kB / 0.5884 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3928, allocations: 0 / 0.5884 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.3928, allocations: 4.484 kB / 0.5884 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.233e-05/0.3929, allocations: 12 kB / 0.5884 GB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.3929, allocations: 3.938 kB / 0.5884 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.883e-05/0.3929, allocations: 3.938 kB / 0.5884 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.3929, allocations: 4 kB / 0.5884 GB, free: 7.422 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001111/0.393, allocations: 117.8 kB / 0.5886 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.3931, allocations: 3.938 kB / 0.5886 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004934/0.3935, allocations: 391.1 kB / 0.5889 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.3936, allocations: 4 kB / 0.5889 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3936, allocations: 3.984 kB / 0.5889 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3936, allocations: 7.938 kB / 0.5889 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.3939, allocations: 257.5 kB / 0.5892 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3939, allocations: 4 kB / 0.5892 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.227e-05/0.3939, allocations: 4 kB / 0.5892 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3939, allocations: 0 / 0.5892 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.3939, allocations: 4 kB / 0.5892 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3939, allocations: 0 / 0.5892 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3939, allocations: 0 / 0.5892 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.3942, allocations: 297.6 kB / 0.5895 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/0.3943, allocations: 23.81 kB / 0.5895 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.3943, allocations: 4 kB / 0.5895 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.858e-05/0.3943, allocations: 4 kB / 0.5895 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.642e-05/0.3943, allocations: 4 kB / 0.5895 GB, free: 6.242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3944, allocations: 3.938 kB / 0.5895 GB, free: 6.238 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.817e-05/0.3944, allocations: 83.27 kB / 0.5896 GB, free: 6.156 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3944, allocations: 0 / 0.5896 GB, free: 6.156 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001337/0.3958, allocations: 447.4 kB / 0.59 GB, free: 5.719 MB / 430.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: 3 ($cse1.region3boundary,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.002874/0.3986, allocations: 1.288 MB / 0.5913 GB, free: 4.402 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.3988, allocations: 83.92 kB / 0.5914 GB, free: 4.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3988, allocations: 0 / 0.5914 GB, free: 4.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.695e-05/0.3989, allocations: 71.91 kB / 0.5914 GB, free: 4.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.3992, allocations: 23.8 kB / 0.5915 GB, free: 4.227 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.4005, allocations: 470.1 kB / 0.5919 GB, free: 3.723 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.202e-05/0.4006, allocations: 97.72 kB / 0.592 GB, free: 3.609 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.104e-05/0.4007, allocations: 27.89 kB / 0.592 GB, free: 3.582 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.619e-05/0.4007, allocations: 27.44 kB / 0.5921 GB, free: 3.555 MB / 430.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4007, allocations: 0 / 0.5921 GB, free: 3.555 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04743/0.4482, allocations: 16.16 MB / 0.6078 GB, free: 3.512 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.95, allocations: 7.859 kB / 0.6078 GB, free: 3.504 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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: 15.066919412929565]