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.00173/0.00173, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002095/0.002095, allocations: 210.1 kB / 23.74 MB, free: 4.672 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.008 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.2478/0.2478, allocations: 46.93 MB / 360.8 MB, free: 4.262 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.002454/0.002454, allocations: 71.84 kB / 0.4966 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3814, allocations: 66.03 MB / 0.5611 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01856/0.3999, allocations: 12.61 MB / 0.5734 GB, free: 7.754 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.4016, allocations: 1.401 MB / 0.5748 GB, free: 6.348 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.148e-05/0.4017, allocations: 0 / 0.5748 GB, free: 6.348 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.4019, allocations: 35.8 kB / 0.5748 GB, free: 6.312 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006302/0.4082, allocations: 2.233 MB / 0.577 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.38e-06/0.4082, allocations: 0 / 0.577 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.4083, allocations: 43.67 kB / 0.5771 GB, free: 4.043 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.79e-05/0.4083, allocations: 7.938 kB / 0.5771 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.174e-05/0.4084, allocations: 12 kB / 0.5771 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.977e-05/0.4085, allocations: 19.91 kB / 0.5771 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.4085, allocations: 0 / 0.5771 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007093/0.4156, allocations: 3.851 MB / 0.5809 GB, free: 152 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.4156, allocations: 4 kB / 0.5809 GB, free: 148 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.4156, allocations: 19.81 kB / 0.5809 GB, free: 128 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003361/0.419, allocations: 1.98 MB / 0.5828 GB, free: 14.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.419, allocations: 7.938 kB / 0.5828 GB, free: 14.13 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.419, allocations: 0 / 0.5828 GB, free: 14.13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.419, allocations: 0 / 0.5828 GB, free: 14.13 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.001181/0.4202, allocations: 0.4889 MB / 0.5833 GB, free: 13.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.4202, allocations: 8.031 kB / 0.5833 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.4204, allocations: 16.88 kB / 0.5833 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.4205, allocations: 114.4 kB / 0.5834 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.4205, allocations: 8.375 kB / 0.5834 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.4205, allocations: 384 / 0.5834 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.4208, allocations: 87.5 kB / 0.5835 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4208, allocations: 3.984 kB / 0.5835 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.4209, allocations: 4 kB / 0.5835 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.4209, allocations: 0 / 0.5835 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.421, allocations: 43.91 kB / 0.5836 GB, free: 13.3 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.0004893/0.4215, allocations: 340 kB / 0.5839 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.4217, allocations: 54.53 kB / 0.5839 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.163e-05/0.4217, allocations: 16.86 kB / 0.584 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02021/0.442, allocations: 5.648 MB / 0.5895 GB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.442, allocations: 42.5 kB / 0.5895 GB, free: 7.129 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.224e-06/0.442, allocations: 0 / 0.5895 GB, free: 7.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005077/0.4425, allocations: 97.62 kB / 0.5896 GB, free: 7.027 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.4426, allocations: 51.41 kB / 0.5897 GB, free: 6.965 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.923e-05/0.4427, allocations: 109.8 kB / 0.5898 GB, free: 6.848 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.4427, allocations: 25.7 kB / 0.5898 GB, free: 6.816 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.4427, allocations: 92.02 kB / 0.5899 GB, free: 6.723 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.4428, allocations: 19.84 kB / 0.5899 GB, free: 6.703 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.4428, allocations: 21.7 kB / 0.5899 GB, free: 6.676 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4429, allocations: 314.8 kB / 0.5902 GB, free: 6.359 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.443, allocations: 8 kB / 0.5902 GB, free: 6.352 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.743e-05/0.443, allocations: 38.5 kB / 0.5903 GB, free: 6.305 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.903e-05/0.4431, allocations: 34.95 kB / 0.5903 GB, free: 6.262 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.4431, allocations: 0 / 0.5903 GB, free: 6.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001254/0.4432, allocations: 69.59 kB / 0.5904 GB, free: 6.188 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.4432, allocations: 8 kB / 0.5904 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4432, allocations: 0 / 0.5904 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4432, allocations: 0 / 0.5904 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.505e-05/0.4433, allocations: 16 kB / 0.5904 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.4433, allocations: 4 kB / 0.5904 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.296e-05/0.4434, allocations: 7.953 kB / 0.5904 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.4434, allocations: 7.938 kB / 0.5904 GB, free: 6.145 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.649e-05/0.4435, allocations: 105.8 kB / 0.5905 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.4435, allocations: 7.984 kB / 0.5905 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004756/0.444, allocations: 391.1 kB / 0.5909 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.444, allocations: 11.94 kB / 0.5909 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.444, allocations: 4 kB / 0.5909 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.444, allocations: 0 / 0.5909 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.4443, allocations: 261.2 kB / 0.5911 GB, free: 5.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4443, allocations: 0 / 0.5911 GB, free: 5.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.4443, allocations: 4 kB / 0.5911 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4443, allocations: 0 / 0.5911 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.4444, allocations: 4 kB / 0.5912 GB, free: 5.312 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.4444, allocations: 7.984 kB / 0.5912 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4444, allocations: 0 / 0.5912 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.4446, allocations: 293.7 kB / 0.5914 GB, free: 5.004 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.4447, allocations: 15.84 kB / 0.5915 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.4447, allocations: 0 / 0.5915 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.913e-05/0.4447, allocations: 0 / 0.5915 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.4448, allocations: 4 kB / 0.5915 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.4448, allocations: 7.938 kB / 0.5915 GB, free: 4.977 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.717e-05/0.4448, allocations: 91.14 kB / 0.5916 GB, free: 4.887 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4448, allocations: 0 / 0.5916 GB, free: 4.887 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001276/0.4461, allocations: 451.3 kB / 0.592 GB, free: 4.445 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.001866/0.4479, allocations: 0.5573 MB / 0.5925 GB, free: 3.879 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.4481, allocations: 84.11 kB / 0.5926 GB, free: 3.797 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4481, allocations: 4 kB / 0.5926 GB, free: 3.793 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.4482, allocations: 72.03 kB / 0.5927 GB, free: 3.723 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.4486, allocations: 18.64 kB / 0.5927 GB, free: 3.707 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000551/0.4491, allocations: 304.9 kB / 0.593 GB, free: 3.379 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.4495, allocations: 0.7125 MB / 0.5937 GB, free: 2.637 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.734e-05/0.4496, allocations: 35.92 kB / 0.5937 GB, free: 2.602 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/0.4496, allocations: 11.44 kB / 0.5937 GB, free: 2.594 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4496, allocations: 3.938 kB / 0.5937 GB, free: 2.59 MB / 430.1 MB Notification: Performance of Templates: time 0.02654/0.4761, allocations: 13.84 MB / 0.6072 GB, free: 4.738 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: 6.179324895143509]