Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001719/0.001719, allocations: 116.9 kB / 19.12 MB, free: 3.93 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.002272/0.002272, allocations: 210.6 kB / 22.08 MB, free: 0.9766 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.512/1.512, allocations: 227.4 MB / 252.3 MB, free: 268 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2468/0.2468, allocations: 46.18 MB / 351.8 MB, free: 14.39 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 77.05 kB / 490.9 MB, free: 28.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1358, allocations: 62.45 MB / 0.5403 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01627/0.1521, allocations: 12.48 MB / 0.5525 GB, free: 7.742 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1537, allocations: 1.401 MB / 0.5539 GB, free: 6.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.1538, allocations: 0 / 0.5539 GB, free: 6.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.154, allocations: 31.81 kB / 0.5539 GB, free: 6.305 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006198/0.1602, allocations: 2.227 MB / 0.5561 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.424e-06/0.1603, allocations: 7.938 kB / 0.5561 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.1604, allocations: 43.72 kB / 0.5562 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.1604, allocations: 4 kB / 0.5562 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.655e-05/0.1605, allocations: 15.94 kB / 0.5562 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.1e-05/0.1606, allocations: 15.92 kB / 0.5562 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.1606, allocations: 0 / 0.5562 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007454/0.1681, allocations: 3.851 MB / 0.5599 GB, free: 140 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.1681, allocations: 4 kB / 0.56 GB, free: 136 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.1682, allocations: 11.94 kB / 0.56 GB, free: 124 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004489/0.1727, allocations: 1.984 MB / 0.5619 GB, free: 14.13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.1727, allocations: 0 / 0.5619 GB, free: 14.13 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1727, allocations: 0 / 0.5619 GB, free: 14.13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1727, allocations: 0 / 0.5619 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.00195/0.1747, allocations: 0.5681 MB / 0.5625 GB, free: 13.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1748, allocations: 12.03 kB / 0.5625 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.1749, allocations: 20.86 kB / 0.5625 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.1751, allocations: 160.4 kB / 0.5626 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.1751, allocations: 12.31 kB / 0.5627 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.1751, allocations: 384 / 0.5627 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.1754, allocations: 95.48 kB / 0.5627 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1754, allocations: 0 / 0.5627 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1755, allocations: 0 / 0.5627 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1755, allocations: 4 kB / 0.5627 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.1757, allocations: 43.95 kB / 0.5628 GB, free: 13.12 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.000529/0.1762, allocations: 364.8 kB / 0.5631 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.1764, allocations: 54.55 kB / 0.5632 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.1764, allocations: 20.88 kB / 0.5632 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02234/0.1988, allocations: 10.41 MB / 0.5734 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.1989, allocations: 34.56 kB / 0.5734 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.983e-06/0.1989, allocations: 0 / 0.5734 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005211/0.1994, allocations: 105.6 kB / 0.5735 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.1995, allocations: 59.39 kB / 0.5736 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.907e-05/0.1996, allocations: 97.86 kB / 0.5737 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1996, allocations: 29.64 kB / 0.5737 GB, free: 0.668 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.1997, allocations: 96.03 kB / 0.5738 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.1997, allocations: 15.89 kB / 0.5738 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-05/0.1997, allocations: 17.72 kB / 0.5738 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1999, allocations: 322.7 kB / 0.5741 GB, free: 212 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.451e-05/0.1999, allocations: 11.98 kB / 0.5741 GB, free: 200 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.112e-05/0.2, allocations: 30.58 kB / 0.5742 GB, free: 160 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.516e-05/0.2, allocations: 38.5 kB / 0.5742 GB, free: 112 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2, allocations: 0 / 0.5742 GB, free: 112 kB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001147/0.2002, allocations: 62.12 kB / 0.5743 GB, free: 44 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.2002, allocations: 5.875 kB / 0.5743 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.2002, allocations: 8.062 kB / 0.5743 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.2002, allocations: 4.047 kB / 0.5743 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.455e-05/0.2003, allocations: 11.98 kB / 0.5743 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.2003, allocations: 3.938 kB / 0.5743 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.826e-05/0.2004, allocations: 11.95 kB / 0.5743 GB, free: 0 / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.2004, allocations: 7.984 kB / 0.5743 GB, free: 15.99 MB / 446.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.898e-05/0.2005, allocations: 109.8 kB / 0.5744 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.2005, allocations: 0 / 0.5744 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004387/0.201, allocations: 374.9 kB / 0.5748 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.201, allocations: 11.98 kB / 0.5748 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.201, allocations: 0 / 0.5748 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.201, allocations: 0 / 0.5748 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.2013, allocations: 286.1 kB / 0.5751 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2013, allocations: 0 / 0.5751 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.2014, allocations: 15.92 kB / 0.5751 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2014, allocations: 0 / 0.5751 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.2014, allocations: 0 / 0.5751 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.2014, allocations: 4 kB / 0.5751 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2014, allocations: 0 / 0.5751 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.2017, allocations: 285.7 kB / 0.5753 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.2018, allocations: 92.95 kB / 0.5754 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.2018, allocations: 0 / 0.5754 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.664e-05/0.2018, allocations: 0 / 0.5754 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.2018, allocations: 7.984 kB / 0.5754 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.2019, allocations: 4 kB / 0.5754 GB, free: 14.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.186e-05/0.2019, allocations: 83.22 kB / 0.5755 GB, free: 14.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.154e-06/0.2019, allocations: 4 kB / 0.5755 GB, free: 14.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001239/0.2032, allocations: 451.3 kB / 0.576 GB, free: 14.2 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.001748/0.2049, allocations: 0.5608 MB / 0.5765 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.2051, allocations: 83.97 kB / 0.5766 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2051, allocations: 0 / 0.5766 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.95e-05/0.2052, allocations: 87.92 kB / 0.5767 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.2055, allocations: 15.97 kB / 0.5767 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/0.2061, allocations: 322.2 kB / 0.577 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.2064, allocations: 0.7126 MB / 0.5777 GB, free: 12.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/0.2064, allocations: 11.44 kB / 0.5777 GB, free: 12.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2064, allocations: 0 / 0.5777 GB, free: 12.34 MB / 446.1 MB Notification: Performance of Templates: time 0.01487/0.2213, allocations: 9.03 MB / 0.5865 GB, free: 3.297 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.373797592939809]