Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001714/0.001714, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002114/0.002114, allocations: 205.6 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.595/1.595, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2275/0.2275, allocations: 46.89 MB / 361.1 MB, free: 4.637 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 84.19 kB / 0.4967 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3093, allocations: 65.99 MB / 0.5612 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01774/0.327, allocations: 12.6 MB / 0.5735 GB, free: 8.391 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.3287, allocations: 1.405 MB / 0.5749 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.347e-05/0.3288, allocations: 0 / 0.5749 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.329, allocations: 27.88 kB / 0.5749 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005917/0.3349, allocations: 2.24 MB / 0.5771 GB, free: 4.715 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.711e-06/0.3349, allocations: 0 / 0.5771 GB, free: 4.715 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.335, allocations: 47.67 kB / 0.5771 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.335, allocations: 4 kB / 0.5771 GB, free: 4.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.375e-05/0.3351, allocations: 11.98 kB / 0.5771 GB, free: 4.652 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.239e-05/0.3352, allocations: 15.88 kB / 0.5771 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.365e-06/0.3352, allocations: 0 / 0.5771 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006506/0.3417, allocations: 3.859 MB / 0.5809 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.3417, allocations: 0 / 0.5809 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.3417, allocations: 19.88 kB / 0.5809 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002734/0.3445, allocations: 1.98 MB / 0.5829 GB, free: 14.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3445, allocations: 0 / 0.5829 GB, free: 14.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3445, allocations: 0 / 0.5829 GB, free: 14.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3445, allocations: 0 / 0.5829 GB, free: 14.77 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.001118/0.3456, allocations: 0.5681 MB / 0.5834 GB, free: 14.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3456, allocations: 12.03 kB / 0.5834 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.3458, allocations: 12.88 kB / 0.5834 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.3459, allocations: 172.3 kB / 0.5836 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.3459, allocations: 384 / 0.5836 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.346, allocations: 4.375 kB / 0.5836 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.3462, allocations: 91.44 kB / 0.5837 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3462, allocations: 0 / 0.5837 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.3462, allocations: 3.984 kB / 0.5837 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3463, allocations: 0 / 0.5837 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.3464, allocations: 43.97 kB / 0.5837 GB, free: 13.77 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.0005053/0.3469, allocations: 368.9 kB / 0.5841 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.3471, allocations: 62.52 kB / 0.5842 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.3471, allocations: 12.86 kB / 0.5842 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02213/0.3693, allocations: 10.41 MB / 0.5943 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/0.3693, allocations: 34.56 kB / 0.5944 GB, free: 1.625 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.134e-06/0.3693, allocations: 0 / 0.5944 GB, free: 1.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004881/0.3698, allocations: 105.6 kB / 0.5945 GB, free: 1.516 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.3698, allocations: 55.41 kB / 0.5945 GB, free: 1.449 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.37, allocations: 106.1 kB / 0.5946 GB, free: 1.336 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.37, allocations: 29.7 kB / 0.5947 GB, free: 1.301 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.37, allocations: 88.03 kB / 0.5947 GB, free: 1.211 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.3701, allocations: 11.91 kB / 0.5947 GB, free: 1.199 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.3701, allocations: 21.7 kB / 0.5948 GB, free: 1.172 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3703, allocations: 318.8 kB / 0.5951 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.3703, allocations: 4 kB / 0.5951 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.072e-05/0.3703, allocations: 34.56 kB / 0.5951 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.512e-05/0.3704, allocations: 42.55 kB / 0.5952 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3704, allocations: 0 / 0.5952 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001132/0.3705, allocations: 61.62 kB / 0.5952 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3705, allocations: 11.98 kB / 0.5952 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3705, allocations: 0 / 0.5952 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3705, allocations: 4.062 kB / 0.5952 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.235e-05/0.3706, allocations: 20.06 kB / 0.5952 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3706, allocations: 0 / 0.5952 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.408e-05/0.3706, allocations: 7.891 kB / 0.5953 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.3707, allocations: 7.938 kB / 0.5953 GB, free: 0.6367 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 8.289e-05/0.3707, allocations: 113.8 kB / 0.5954 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.3708, allocations: 4 kB / 0.5954 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004245/0.3712, allocations: 370.9 kB / 0.5957 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.3712, allocations: 3.984 kB / 0.5957 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3712, allocations: 8 kB / 0.5957 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3712, allocations: 0 / 0.5957 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.3715, allocations: 286.1 kB / 0.596 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.3715, allocations: 0 / 0.596 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.3716, allocations: 8 kB / 0.596 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.3716, allocations: 0 / 0.596 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.3716, allocations: 0 / 0.596 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/0.3716, allocations: 3.984 kB / 0.596 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3716, allocations: 0 / 0.596 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.3719, allocations: 293.6 kB / 0.5963 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.3719, allocations: 92.95 kB / 0.5964 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.3719, allocations: 4 kB / 0.5964 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.775e-05/0.372, allocations: 0 / 0.5964 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/0.372, allocations: 3.938 kB / 0.5964 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.372, allocations: 4 kB / 0.5964 GB, free: 15.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.614e-05/0.3721, allocations: 87.2 kB / 0.5965 GB, free: 15.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3721, allocations: 0 / 0.5965 GB, free: 15.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001313/0.3734, allocations: 443.4 kB / 0.5969 GB, free: 14.85 MB / 446.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.001764/0.3751, allocations: 0.5651 MB / 0.5975 GB, free: 14.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.3753, allocations: 91.84 kB / 0.5975 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3753, allocations: 0 / 0.5975 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.882e-05/0.3754, allocations: 68.09 kB / 0.5976 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.3757, allocations: 14.02 kB / 0.5976 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005411/0.3763, allocations: 304.4 kB / 0.5979 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.3767, allocations: 0.7164 MB / 0.5986 GB, free: 13.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.724e-05/0.3768, allocations: 23.91 kB / 0.5986 GB, free: 13.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.3768, allocations: 11.44 kB / 0.5986 GB, free: 13 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3768, allocations: 0 / 0.5986 GB, free: 13 MB / 446.1 MB Notification: Performance of Templates: time 0.03727/0.4141, allocations: 13.77 MB / 0.6121 GB, free: 15.21 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.7440624111332]