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.001698/0.001698, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002301/0.002301, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 8.051 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.2359/0.2359, allocations: 46.92 MB / 360.9 MB, free: 4.328 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.002063/0.002063, allocations: 71.89 kB / 0.4961 GB, free: 7.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3566, allocations: 66.04 MB / 0.5606 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01695/0.3735, allocations: 12.6 MB / 0.5729 GB, free: 7.879 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.3754, allocations: 1.393 MB / 0.5743 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.991e-05/0.3754, allocations: 0 / 0.5743 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002442/0.3757, allocations: 39.75 kB / 0.5743 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006629/0.3823, allocations: 2.23 MB / 0.5765 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.905e-06/0.3823, allocations: 0 / 0.5765 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.3824, allocations: 51.59 kB / 0.5766 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.3825, allocations: 0 / 0.5766 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.718e-05/0.3825, allocations: 15.98 kB / 0.5766 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.3826, allocations: 11.94 kB / 0.5766 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.3826, allocations: 4 kB / 0.5766 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007478/0.3901, allocations: 3.859 MB / 0.5804 GB, free: 272 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.3901, allocations: 4 kB / 0.5804 GB, free: 268 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.371e-05/0.3901, allocations: 15.88 kB / 0.5804 GB, free: 252 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004344/0.3945, allocations: 1.973 MB / 0.5823 GB, free: 14.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3945, allocations: 4 kB / 0.5823 GB, free: 14.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.3945, allocations: 4 kB / 0.5823 GB, free: 14.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3945, allocations: 0 / 0.5823 GB, free: 14.26 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.00128/0.3958, allocations: 0.4928 MB / 0.5828 GB, free: 13.74 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.3958, allocations: 11.97 kB / 0.5828 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.3959, allocations: 38.75 kB / 0.5829 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.396, allocations: 12.88 kB / 0.5829 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.3961, allocations: 106.5 kB / 0.583 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.3962, allocations: 384 / 0.583 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.3962, allocations: 12.38 kB / 0.583 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.3964, allocations: 87.3 kB / 0.5831 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3965, allocations: 0 / 0.5831 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3965, allocations: 4 kB / 0.5831 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3965, allocations: 7.938 kB / 0.5831 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.3966, allocations: 47.89 kB / 0.5831 GB, free: 13.37 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.0005338/0.3972, allocations: 340 kB / 0.5834 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.3974, allocations: 54.48 kB / 0.5835 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.3974, allocations: 16.94 kB / 0.5835 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02017/0.4176, allocations: 5.652 MB / 0.589 GB, free: 7.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/0.4176, allocations: 34.55 kB / 0.5891 GB, free: 7.207 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.655e-06/0.4176, allocations: 0 / 0.5891 GB, free: 7.207 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005786/0.4182, allocations: 105.6 kB / 0.5892 GB, free: 7.098 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.4183, allocations: 51.41 kB / 0.5892 GB, free: 7.035 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.4184, allocations: 101.8 kB / 0.5893 GB, free: 6.926 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.4184, allocations: 33.64 kB / 0.5893 GB, free: 6.887 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.236e-05/0.4185, allocations: 88.08 kB / 0.5894 GB, free: 6.797 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.4185, allocations: 19.84 kB / 0.5894 GB, free: 6.777 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.4185, allocations: 21.72 kB / 0.5895 GB, free: 6.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.4187, allocations: 318.8 kB / 0.5898 GB, free: 6.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/0.4188, allocations: 7.938 kB / 0.5898 GB, free: 6.422 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.558e-05/0.4188, allocations: 30.56 kB / 0.5898 GB, free: 6.383 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.579e-05/0.4189, allocations: 42.52 kB / 0.5899 GB, free: 6.332 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4189, allocations: 0 / 0.5899 GB, free: 6.332 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001158/0.419, allocations: 61.62 kB / 0.5899 GB, free: 6.266 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.419, allocations: 4 kB / 0.5899 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.419, allocations: 4 kB / 0.5899 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.4191, allocations: 0 / 0.5899 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.854e-05/0.4191, allocations: 11.98 kB / 0.5899 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.4191, allocations: 0 / 0.5899 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.959e-05/0.4192, allocations: 11.89 kB / 0.5899 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.4192, allocations: 4.062 kB / 0.5899 GB, free: 6.23 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.0001211/0.4193, allocations: 117.8 kB / 0.5901 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.4193, allocations: 0 / 0.5901 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005307/0.4199, allocations: 395.1 kB / 0.5904 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.4199, allocations: 7.984 kB / 0.5904 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4199, allocations: 0 / 0.5904 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.4199, allocations: 4.359 kB / 0.5904 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.4202, allocations: 257.2 kB / 0.5907 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4202, allocations: 4 kB / 0.5907 GB, free: 5.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.043e-05/0.4203, allocations: 8 kB / 0.5907 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4203, allocations: 0 / 0.5907 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.4203, allocations: 4 kB / 0.5907 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4203, allocations: 0 / 0.5907 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4203, allocations: 0 / 0.5907 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.4206, allocations: 297.6 kB / 0.591 GB, free: 5.086 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/0.4206, allocations: 23.78 kB / 0.591 GB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.4206, allocations: 8.25 kB / 0.591 GB, free: 5.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.966e-05/0.4207, allocations: 4 kB / 0.591 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.4207, allocations: 3.984 kB / 0.591 GB, free: 5.047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.4207, allocations: 7.938 kB / 0.591 GB, free: 5.039 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.283e-05/0.4208, allocations: 79.28 kB / 0.5911 GB, free: 4.961 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4208, allocations: 0 / 0.5911 GB, free: 4.961 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001384/0.4222, allocations: 451.3 kB / 0.5915 GB, free: 4.52 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.002392/0.4245, allocations: 1.291 MB / 0.5928 GB, free: 3.203 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.4247, allocations: 79.91 kB / 0.5929 GB, free: 3.125 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4247, allocations: 4.125 kB / 0.5929 GB, free: 3.121 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.842e-05/0.4248, allocations: 75.84 kB / 0.593 GB, free: 3.047 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.4251, allocations: 19.88 kB / 0.593 GB, free: 3.027 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.4262, allocations: 466 kB / 0.5934 GB, free: 2.527 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.4266, allocations: 0.7125 MB / 0.5941 GB, free: 1.789 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.684e-05/0.4266, allocations: 23.97 kB / 0.5941 GB, free: 1.766 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.4267, allocations: 31.42 kB / 0.5942 GB, free: 1.734 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4267, allocations: 0 / 0.5942 GB, free: 1.734 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04897/0.4757, allocations: 15.9 MB / 0.6097 GB, free: 1.941 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.93, allocations: 15.14 kB / 0.6097 GB, free: 1.93 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.073601561001851]