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.001906/0.001906, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002403/0.002403, allocations: 207.8 kB / 23.73 MB, free: 4.523 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2362/0.2362, allocations: 46.96 MB / 360.9 MB, free: 4.02 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: translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 67.89 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3563, allocations: 66.04 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01906/0.3753, allocations: 11.47 MB / 0.5723 GB, free: 8.656 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.3771, allocations: 1.222 MB / 0.5735 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.3772, allocations: 0 / 0.5735 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.3774, allocations: 31.81 kB / 0.5735 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006769/0.3841, allocations: 2.205 MB / 0.5756 GB, free: 5.199 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.297e-06/0.3842, allocations: 0 / 0.5756 GB, free: 5.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.3843, allocations: 35.75 kB / 0.5757 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.213e-05/0.3843, allocations: 0 / 0.5757 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.86e-05/0.3844, allocations: 27.84 kB / 0.5757 GB, free: 5.137 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.179e-05/0.3845, allocations: 11.94 kB / 0.5757 GB, free: 5.125 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.3845, allocations: 7.938 kB / 0.5757 GB, free: 5.117 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009133/0.3936, allocations: 3.835 MB / 0.5795 GB, free: 1.277 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.3936, allocations: 0 / 0.5795 GB, free: 1.277 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.878e-05/0.3937, allocations: 11.94 kB / 0.5795 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005221/0.3989, allocations: 1.984 MB / 0.5814 GB, free: 15.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3989, allocations: 4 kB / 0.5814 GB, free: 15.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3989, allocations: 4 kB / 0.5814 GB, free: 15.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.3989, allocations: 0 / 0.5814 GB, free: 15.27 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.001577/0.4005, allocations: 496.6 kB / 0.5819 GB, free: 14.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.4006, allocations: 12.03 kB / 0.5819 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.4007, allocations: 16.88 kB / 0.5819 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.401, allocations: 114.5 kB / 0.582 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.401, allocations: 384 / 0.582 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.401, allocations: 4.375 kB / 0.582 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.4013, allocations: 91.44 kB / 0.5821 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4013, allocations: 0 / 0.5821 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.4013, allocations: 4 kB / 0.5821 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.4013, allocations: 4 kB / 0.5821 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.4015, allocations: 47.95 kB / 0.5822 GB, free: 14.43 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.0005916/0.4021, allocations: 312.5 kB / 0.5825 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.4023, allocations: 54.53 kB / 0.5825 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.261e-05/0.4024, allocations: 8.859 kB / 0.5825 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02135/0.4237, allocations: 5.691 MB / 0.5881 GB, free: 8.316 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/0.4238, allocations: 34.56 kB / 0.5881 GB, free: 8.273 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.404e-06/0.4238, allocations: 0 / 0.5881 GB, free: 8.273 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005335/0.4243, allocations: 105.6 kB / 0.5882 GB, free: 8.164 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.4244, allocations: 51.41 kB / 0.5883 GB, free: 8.102 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.4245, allocations: 105.8 kB / 0.5884 GB, free: 7.988 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.4245, allocations: 25.7 kB / 0.5884 GB, free: 7.957 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.4246, allocations: 84.09 kB / 0.5885 GB, free: 7.871 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.4246, allocations: 19.84 kB / 0.5885 GB, free: 7.852 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.4246, allocations: 25.7 kB / 0.5885 GB, free: 7.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.4248, allocations: 314.8 kB / 0.5888 GB, free: 7.504 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.57e-05/0.4248, allocations: 8 kB / 0.5888 GB, free: 7.496 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.777e-05/0.4249, allocations: 30.56 kB / 0.5889 GB, free: 7.457 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.056e-05/0.425, allocations: 34.52 kB / 0.5889 GB, free: 7.414 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.425, allocations: 0 / 0.5889 GB, free: 7.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001611/0.4251, allocations: 73.56 kB / 0.589 GB, free: 7.336 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.4252, allocations: 7.938 kB / 0.589 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.4252, allocations: 4.062 kB / 0.589 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.4252, allocations: 4 kB / 0.589 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.591e-05/0.4253, allocations: 8 kB / 0.589 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.4253, allocations: 0 / 0.589 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.553e-05/0.4253, allocations: 4 kB / 0.589 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.4253, allocations: 4 kB / 0.589 GB, free: 7.305 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 9.765e-05/0.4254, allocations: 117.7 kB / 0.5891 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.4254, allocations: 11.92 kB / 0.5891 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004967/0.4259, allocations: 383.1 kB / 0.5895 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.426, allocations: 15.98 kB / 0.5895 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.426, allocations: 0 / 0.5895 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.426, allocations: 0 / 0.5895 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.4262, allocations: 221.8 kB / 0.5897 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4262, allocations: 0 / 0.5897 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.4263, allocations: 8 kB / 0.5897 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4263, allocations: 0 / 0.5897 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.4263, allocations: 4.188 kB / 0.5897 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.4263, allocations: 4 kB / 0.5897 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4263, allocations: 3.938 kB / 0.5897 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.4267, allocations: 293.7 kB / 0.59 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.4267, allocations: 19.89 kB / 0.59 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.4267, allocations: 4.406 kB / 0.59 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.178e-05/0.4268, allocations: 0 / 0.59 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/0.4268, allocations: 0 / 0.59 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.4268, allocations: 8 kB / 0.59 GB, free: 6.172 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.419e-05/0.4268, allocations: 87.25 kB / 0.5901 GB, free: 6.086 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4268, allocations: 0 / 0.5901 GB, free: 6.086 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001297/0.4281, allocations: 447.3 kB / 0.5905 GB, free: 5.648 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.00206/0.4302, allocations: 0.5531 MB / 0.5911 GB, free: 5.086 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.4304, allocations: 91.84 kB / 0.5912 GB, free: 4.996 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4304, allocations: 4 kB / 0.5912 GB, free: 4.992 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.743e-05/0.4305, allocations: 63.97 kB / 0.5912 GB, free: 4.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.4308, allocations: 20 kB / 0.5913 GB, free: 4.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005445/0.4314, allocations: 305 kB / 0.5916 GB, free: 4.582 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.4315, allocations: 101.7 kB / 0.5916 GB, free: 4.461 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.208e-05/0.4316, allocations: 27.95 kB / 0.5917 GB, free: 4.434 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.4316, allocations: 11.44 kB / 0.5917 GB, free: 4.422 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4316, allocations: 4 kB / 0.5917 GB, free: 4.418 MB / 430.1 MB Notification: Performance of Templates: time 0.02399/0.4556, allocations: 13.88 MB / 0.6052 GB, free: 6.543 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins/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: 5.827701527159661]