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.0009671/0.0009671, allocations: 79.73 kB / 9.881 MB, free: 0.8086 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001412/0.002379, allocations: 447.8 kB / 10.32 MB, free: 376 kB / 10.45 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.001169/0.001169, allocations: 160.9 kB / 11.22 MB, free: 2.953 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001111/0.00228, allocations: 479.5 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9966/0.9966, allocations: 177.1 MB / 189.5 MB, free: 3.637 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1604/1.157, allocations: 53.73 MB / 243.3 MB, free: 2.098 MB / 234.7 MB " [Timeout remaining time 179] 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.1489/0.1489, allocations: 34.87 MB / 278.9 MB, free: 14.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02104/0.17, allocations: 13.22 MB / 292.1 MB, free: 1.605 MB / 282.7 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 1.453e-06/1.453e-06, allocations: 0 / 293.3 MB, free: 368 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059e-05/1.204e-05, allocations: 6.312 kB / 293.4 MB, free: 360 kB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01125/0.01127, allocations: 12.52 MB / 305.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009932/0.01226, allocations: 1.382 MB / 307.3 MB, free: 2.398 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.668e-05/0.01229, allocations: 0 / 307.3 MB, free: 2.398 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.235e-05/0.01238, allocations: 23.83 kB / 307.3 MB, free: 2.375 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.01572, allocations: 1.991 MB / 309.3 MB, free: 384 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.747e-06/0.01572, allocations: 0 / 309.3 MB, free: 384 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.395e-05/0.0158, allocations: 43.69 kB / 309.3 MB, free: 340 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.775e-05/0.01584, allocations: 7.984 kB / 309.3 MB, free: 332 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.842e-05/0.01591, allocations: 31.91 kB / 309.4 MB, free: 300 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.142e-05/0.01596, allocations: 8 kB / 309.4 MB, free: 292 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.01597, allocations: 0 / 309.4 MB, free: 292 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0043/0.02027, allocations: 3.948 MB / 313.3 MB, free: 12.33 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.02028, allocations: 11.94 kB / 313.3 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.02031, allocations: 15.98 kB / 313.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00224/0.02255, allocations: 2.561 MB / 315.9 MB, free: 9.738 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.252e-05/0.02256, allocations: 0 / 315.9 MB, free: 9.738 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.02256, allocations: 0 / 315.9 MB, free: 9.738 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.02257, allocations: 0 / 315.9 MB, free: 9.738 MB / 314.7 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.0008105/0.02338, allocations: 0.5508 MB / 316.4 MB, free: 9.145 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.02341, allocations: 16.58 kB / 316.5 MB, free: 9.129 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.02353, allocations: 16.86 kB / 316.5 MB, free: 9.113 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.303e-05/0.0236, allocations: 113.7 kB / 316.6 MB, free: 8.977 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.02361, allocations: 4.375 kB / 316.6 MB, free: 8.973 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.02362, allocations: 8.375 kB / 316.6 MB, free: 8.965 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.02376, allocations: 87.86 kB / 316.7 MB, free: 8.867 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.02376, allocations: 192 / 316.7 MB, free: 8.867 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.02377, allocations: 4.125 kB / 316.7 MB, free: 8.863 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.02378, allocations: 0 / 316.7 MB, free: 8.863 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.393e-05/0.02385, allocations: 39.95 kB / 316.7 MB, free: 8.824 MB / 314.7 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.0002419/0.02409, allocations: 256.3 kB / 317 MB, free: 8.555 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.02419, allocations: 50.64 kB / 317 MB, free: 8.496 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.433e-05/0.02421, allocations: 12.94 kB / 317 MB, free: 8.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01069/0.0349, allocations: 7.032 MB / 324.1 MB, free: 1.441 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.03492, allocations: 38.55 kB / 324.1 MB, free: 1.395 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.03492, allocations: 0 / 324.1 MB, free: 1.395 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002321/0.03515, allocations: 109.5 kB / 324.2 MB, free: 1.281 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.03518, allocations: 51.41 kB / 324.3 MB, free: 1.219 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.379e-05/0.03523, allocations: 102.7 kB / 324.4 MB, free: 1.105 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.03524, allocations: 25.7 kB / 324.4 MB, free: 1.074 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.03528, allocations: 96.02 kB / 324.5 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.684e-06/0.03528, allocations: 7.906 kB / 324.5 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.03531, allocations: 21.72 kB / 324.5 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.734e-05/0.03538, allocations: 318.8 kB / 324.8 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-06/0.03539, allocations: 4 kB / 324.8 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.758e-05/0.0354, allocations: 18.58 kB / 324.9 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.14e-05/0.03543, allocations: 42.88 kB / 324.9 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.03544, allocations: 0 / 324.9 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.321e-05/0.03549, allocations: 61.66 kB / 325 MB, free: 484 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.0355, allocations: 6.969 kB / 325 MB, free: 480 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.03551, allocations: 8 kB / 325 MB, free: 472 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.03551, allocations: 0 / 325 MB, free: 472 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.441e-05/0.03556, allocations: 11.94 kB / 325 MB, free: 460 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.03556, allocations: 4 kB / 325 MB, free: 456 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.781e-05/0.03558, allocations: 12.02 kB / 325 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.03559, allocations: 4 kB / 325 MB, free: 440 kB / 314.7 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 4.696e-05/0.03563, allocations: 117.7 kB / 325.1 MB, free: 312 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.03565, allocations: 7.938 kB / 325.1 MB, free: 304 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.03583, allocations: 259.9 kB / 325.4 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.03583, allocations: 0 / 325.4 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.03584, allocations: 3.984 kB / 325.4 MB, free: 36 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.03584, allocations: 0 / 325.4 MB, free: 36 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1484/0.1843, allocations: 134.2 kB / 325.5 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.1843, allocations: 0 / 325.5 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.558e-05/0.1843, allocations: 13.14 kB / 325.5 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.1843, allocations: 0.5625 kB / 325.5 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.1843, allocations: 4.25 kB / 325.5 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1843, allocations: 0.6094 kB / 325.5 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1843, allocations: 0.6875 kB / 325.5 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.1845, allocations: 263.8 kB / 325.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.1845, allocations: 19.55 kB / 325.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.1845, allocations: 1.875 kB / 325.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.396e-05/0.1846, allocations: 0 / 325.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.1846, allocations: 5.078 kB / 325.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.1846, allocations: 1.094 kB / 325.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.58e-05/0.1846, allocations: 14.27 kB / 325.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1846, allocations: 0 / 325.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001291/0.1859, allocations: 451.7 kB / 326.3 MB, free: 17.66 MB / 314.7 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.001706/0.1876, allocations: 0.6579 MB / 326.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.1877, allocations: 52.78 kB / 327 MB, free: 17.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.1878, allocations: 2.156 kB / 327 MB, free: 17.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.892e-05/0.1878, allocations: 38.66 kB / 327 MB, free: 17.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.188, allocations: 16.81 kB / 327 MB, free: 17.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007238/0.1887, allocations: 311.2 kB / 327.3 MB, free: 17.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.176e-05/0.1888, allocations: 71.17 kB / 327.4 MB, free: 17.34 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.922e-05/0.1889, allocations: 27.39 kB / 327.4 MB, free: 17.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.71e-05/0.1889, allocations: 62.98 kB / 327.5 MB, free: 17.29 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1889, allocations: 0 / 327.5 MB, free: 17.29 MB / 314.7 MB Notification: Performance of Templates: time 0.01832/0.2073, allocations: 15.32 MB / 342.8 MB, free: 11.61 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3970170989632607]