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.001398/0.001398, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001661/0.001661, allocations: 215.1 kB / 24.48 MB, free: 3.84 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.49/1.49, allocations: 230.6 MB / 258.3 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.2313/0.2313, allocations: 46.97 MB / 361.6 MB, free: 4.059 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.002437/0.002437, allocations: 67.91 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3904, allocations: 66.03 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01738/0.4077, allocations: 11.47 MB / 0.573 GB, free: 8.672 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.4094, allocations: 1.222 MB / 0.5742 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.058e-05/0.4094, allocations: 0 / 0.5742 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.4097, allocations: 31.81 kB / 0.5742 GB, free: 7.414 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006879/0.4165, allocations: 2.209 MB / 0.5764 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.235e-06/0.4166, allocations: 0 / 0.5764 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.4167, allocations: 31.75 kB / 0.5764 GB, free: 5.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.275e-05/0.4167, allocations: 7.984 kB / 0.5764 GB, free: 5.172 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.4168, allocations: 19.94 kB / 0.5764 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.018e-05/0.4169, allocations: 15.92 kB / 0.5765 GB, free: 5.137 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.4169, allocations: 0 / 0.5765 GB, free: 5.137 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007409/0.4243, allocations: 3.71 MB / 0.5801 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.4243, allocations: 0 / 0.5801 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.707e-05/0.4244, allocations: 15.94 kB / 0.5801 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005214/0.4296, allocations: 1.973 MB / 0.582 GB, free: 15.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.4296, allocations: 0 / 0.582 GB, free: 15.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.4296, allocations: 0 / 0.582 GB, free: 15.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.4296, allocations: 0 / 0.582 GB, free: 15.43 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.00177/0.4314, allocations: 0.4948 MB / 0.5825 GB, free: 14.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.4314, allocations: 8.031 kB / 0.5825 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.4316, allocations: 16.88 kB / 0.5825 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.4317, allocations: 110.4 kB / 0.5826 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.4318, allocations: 12.36 kB / 0.5826 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.4318, allocations: 8.375 kB / 0.5827 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.4321, allocations: 87.5 kB / 0.5827 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.4321, allocations: 3.984 kB / 0.5827 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.4321, allocations: 0 / 0.5827 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.4321, allocations: 0 / 0.5827 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.4323, allocations: 43.91 kB / 0.5828 GB, free: 14.59 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.0005202/0.4328, allocations: 304.6 kB / 0.5831 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.433, allocations: 58.56 kB / 0.5831 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.795e-05/0.4331, allocations: 16.8 kB / 0.5831 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02028/0.4533, allocations: 5.687 MB / 0.5887 GB, free: 8.473 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.4534, allocations: 30.56 kB / 0.5887 GB, free: 8.434 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.274e-06/0.4534, allocations: 0 / 0.5887 GB, free: 8.434 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005703/0.454, allocations: 105.6 kB / 0.5888 GB, free: 8.324 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.454, allocations: 51.41 kB / 0.5889 GB, free: 8.262 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.4541, allocations: 102 kB / 0.589 GB, free: 8.152 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.4541, allocations: 29.7 kB / 0.589 GB, free: 8.117 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.4542, allocations: 88.09 kB / 0.5891 GB, free: 8.027 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.4542, allocations: 19.83 kB / 0.5891 GB, free: 8.008 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.4543, allocations: 21.72 kB / 0.5891 GB, free: 7.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4544, allocations: 314.8 kB / 0.5894 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.4544, allocations: 7.938 kB / 0.5894 GB, free: 7.656 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.382e-05/0.4545, allocations: 30.75 kB / 0.5895 GB, free: 7.617 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.966e-05/0.4546, allocations: 38.56 kB / 0.5895 GB, free: 7.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4546, allocations: 0 / 0.5895 GB, free: 7.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001255/0.4547, allocations: 73.69 kB / 0.5896 GB, free: 7.492 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.4547, allocations: 8 kB / 0.5896 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.4547, allocations: 4 kB / 0.5896 GB, free: 7.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.4547, allocations: 7.875 kB / 0.5896 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.73e-05/0.4548, allocations: 8 kB / 0.5896 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.4548, allocations: 11.92 kB / 0.5896 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.668e-05/0.4549, allocations: 0 / 0.5896 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.4549, allocations: 8 kB / 0.5896 GB, free: 7.445 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.852e-05/0.455, allocations: 113.8 kB / 0.5897 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.455, allocations: 8.062 kB / 0.5897 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005322/0.4555, allocations: 391.1 kB / 0.5901 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.4555, allocations: 4 kB / 0.5901 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.4555, allocations: 4 kB / 0.5901 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4556, allocations: 0 / 0.5901 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.4559, allocations: 225.8 kB / 0.5903 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4559, allocations: 0 / 0.5903 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.4559, allocations: 4 kB / 0.5903 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.4559, allocations: 4 kB / 0.5903 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.4559, allocations: 0 / 0.5903 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4559, allocations: 4 kB / 0.5903 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4559, allocations: 0 / 0.5903 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.4563, allocations: 297.7 kB / 0.5906 GB, free: 6.352 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.4563, allocations: 15.88 kB / 0.5906 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.4563, allocations: 3.938 kB / 0.5906 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.277e-05/0.4564, allocations: 4 kB / 0.5906 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.4564, allocations: 0 / 0.5906 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.4564, allocations: 0 / 0.5906 GB, free: 6.328 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.337e-05/0.4565, allocations: 87.27 kB / 0.5907 GB, free: 6.242 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4565, allocations: 0 / 0.5907 GB, free: 6.242 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001879/0.4584, allocations: 447.3 kB / 0.5912 GB, free: 5.805 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.002632/0.461, allocations: 0.5651 MB / 0.5917 GB, free: 5.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.4612, allocations: 91.84 kB / 0.5918 GB, free: 5.141 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4612, allocations: 0 / 0.5918 GB, free: 5.141 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.4613, allocations: 68.09 kB / 0.5919 GB, free: 5.074 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.4617, allocations: 19.92 kB / 0.5919 GB, free: 5.055 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006194/0.4623, allocations: 334.6 kB / 0.5922 GB, free: 4.691 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.4624, allocations: 97.72 kB / 0.5923 GB, free: 4.574 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.4624, allocations: 15.44 kB / 0.5923 GB, free: 4.559 MB / 430.1 MB Notification: Performance of SimCode: time 9.81e-07/0.4624, allocations: 7.938 kB / 0.5923 GB, free: 4.551 MB / 430.1 MB Notification: Performance of Templates: time 0.01825/0.4807, allocations: 9.064 MB / 0.6012 GB, free: 11.47 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/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: 8.492289038840681]