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.001072/0.001072, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001559/0.002632, allocations: 457.8 kB / 10.45 MB, free: 244 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.000901/0.000901, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00304/0.003941, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9828/0.9828, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09403/1.077, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.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.2801/0.2801, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04626/0.3264, allocations: 13.24 MB / 292.8 MB, free: 6.375 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.443e-06/1.443e-06, allocations: 0 / 294.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.355e-05, allocations: 4.984 kB / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01411/0.01413, allocations: 12.56 MB / 306.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009471/0.01508, allocations: 1.393 MB / 308 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.951e-05/0.0151, allocations: 0 / 308 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.0152, allocations: 31.83 kB / 308.1 MB, free: 7.051 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00276/0.01796, allocations: 1.991 MB / 310.1 MB, free: 5.051 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.228e-06/0.01796, allocations: 0 / 310.1 MB, free: 5.051 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.071e-05/0.01803, allocations: 43.69 kB / 310.1 MB, free: 5.008 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.936e-05/0.01806, allocations: 0 / 310.1 MB, free: 5.008 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.845e-05/0.01814, allocations: 27.91 kB / 310.1 MB, free: 4.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.791e-05/0.01817, allocations: 8 kB / 310.1 MB, free: 4.973 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.01818, allocations: 7.938 kB / 310.1 MB, free: 4.965 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005073/0.02325, allocations: 3.953 MB / 314.1 MB, free: 1.004 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.722e-05/0.02328, allocations: 4 kB / 314.1 MB, free: 1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.02331, allocations: 11.94 kB / 314.1 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00401/0.02732, allocations: 1.915 MB / 316 MB, free: 15.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.516e-05/0.02734, allocations: 0 / 316 MB, free: 15.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.02735, allocations: 0 / 316 MB, free: 15.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.02736, allocations: 4 kB / 316 MB, free: 15.07 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.001824/0.02918, allocations: 0.6808 MB / 316.7 MB, free: 14.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.02922, allocations: 8.922 kB / 316.7 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.02942, allocations: 24.84 kB / 316.7 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.02953, allocations: 113.7 kB / 316.9 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.02954, allocations: 4.375 kB / 316.9 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.02955, allocations: 384 / 316.9 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.02978, allocations: 91.91 kB / 316.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.02978, allocations: 192 / 316.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.0298, allocations: 4.125 kB / 317 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.0298, allocations: 8 kB / 317 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.02993, allocations: 35.91 kB / 317 MB, free: 14.02 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.0003636/0.03029, allocations: 256.4 kB / 317.2 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.03045, allocations: 50.58 kB / 317.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.03047, allocations: 8.859 kB / 317.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01472/0.0452, allocations: 7.044 MB / 324.3 MB, free: 6.633 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.04524, allocations: 30.56 kB / 324.4 MB, free: 6.594 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 4.589e-06/0.04524, allocations: 3.984 kB / 324.4 MB, free: 6.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003252/0.04557, allocations: 105.5 kB / 324.5 MB, free: 6.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.04559, allocations: 51.41 kB / 324.5 MB, free: 6.418 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.966e-05/0.04566, allocations: 102.7 kB / 324.6 MB, free: 6.305 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.04567, allocations: 25.7 kB / 324.7 MB, free: 6.273 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.04572, allocations: 104 kB / 324.8 MB, free: 6.168 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.879e-06/0.04573, allocations: 11.91 kB / 324.8 MB, free: 6.156 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.04576, allocations: 21.7 kB / 324.8 MB, free: 6.129 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.047e-05/0.04584, allocations: 314.8 kB / 325.1 MB, free: 5.812 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.04585, allocations: 8 kB / 325.1 MB, free: 5.805 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.221e-05/0.04588, allocations: 26.56 kB / 325.1 MB, free: 5.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.458e-05/0.04591, allocations: 34.5 kB / 325.2 MB, free: 5.727 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.04591, allocations: 0 / 325.2 MB, free: 5.727 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.202e-05/0.04597, allocations: 57.61 kB / 325.2 MB, free: 5.664 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.04599, allocations: 12 kB / 325.2 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.046, allocations: 0 / 325.2 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.04601, allocations: 0 / 325.2 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.172e-05/0.04606, allocations: 16 kB / 325.3 MB, free: 5.637 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.04607, allocations: 0 / 325.3 MB, free: 5.637 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.704e-05/0.04609, allocations: 3.953 kB / 325.3 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.0461, allocations: 7.938 kB / 325.3 MB, free: 5.625 MB / 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 8.878e-05/0.04619, allocations: 109.8 kB / 325.4 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.04621, allocations: 15.92 kB / 325.4 MB, free: 5.492 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002248/0.04643, allocations: 256.1 kB / 325.6 MB, free: 5.234 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.04644, allocations: 4 kB / 325.6 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.04644, allocations: 0 / 325.6 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.04645, allocations: 0 / 325.6 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.04659, allocations: 141.9 kB / 325.8 MB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.04659, allocations: 0 / 325.8 MB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.895e-05/0.04661, allocations: 8 kB / 325.8 MB, free: 5.066 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.04662, allocations: 19.84 kB / 325.8 MB, free: 5.047 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.04663, allocations: 7.875 kB / 325.8 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.04663, allocations: 0 / 325.8 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.04663, allocations: 192 / 325.8 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.04663, allocations: 4 kB / 325.8 MB, free: 5.035 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.0468, allocations: 266.3 kB / 326.1 MB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.04681, allocations: 3.938 kB / 326.1 MB, free: 4.754 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.502e-05/0.04684, allocations: 0 / 326.1 MB, free: 4.754 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.04685, allocations: 0 / 326.1 MB, free: 4.754 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.04685, allocations: 7.938 kB / 326.1 MB, free: 4.746 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.525e-05/0.04687, allocations: 13.27 kB / 326.1 MB, free: 4.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04687, allocations: 0 / 326.1 MB, free: 4.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000881/0.04775, allocations: 443.4 kB / 326.5 MB, free: 4.297 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.001341/0.04909, allocations: 0.6809 MB / 327.2 MB, free: 3.605 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.556e-05/0.04918, allocations: 44.78 kB / 327.3 MB, free: 3.559 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.04919, allocations: 0 / 327.3 MB, free: 3.559 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.481e-05/0.04924, allocations: 44.77 kB / 327.3 MB, free: 3.512 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.04943, allocations: 54.81 kB / 327.4 MB, free: 3.453 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.05097, allocations: 291.6 kB / 327.6 MB, free: 3.137 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.393e-05/0.05103, allocations: 72.08 kB / 327.7 MB, free: 3.047 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.493e-05/0.0511, allocations: 27.66 kB / 327.7 MB, free: 3.023 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.764e-05/0.05116, allocations: 67.36 kB / 327.8 MB, free: 2.957 MB / 314.7 MB Notification: Performance of SimCode: time 8.91e-07/0.05116, allocations: 0 / 327.8 MB, free: 2.957 MB / 314.7 MB Notification: Performance of Templates: time 0.02164/0.07281, allocations: 15.47 MB / 343.3 MB, free: 3.496 MB / 330.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1893224976956844]