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.001202/0.001202, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.00147/0.00147, allocations: 158.6 kB / 24.91 MB, free: 8.719 MB / 18.57 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.9628/0.9628, allocations: 177 MB / 205.2 MB, free: 5.02 MB / 186.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.2395/0.2395, allocations: 34.86 MB / 296.6 MB, free: 464 kB / 266.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.523e-06/1.523e-06, allocations: 0 / 325.9 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.511e-05, allocations: 2.312 kB / 325.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01043/0.01045, allocations: 12.52 MB / 338.5 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.01153, allocations: 1.379 MB / 339.8 MB, free: 9.168 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.421e-05/0.01156, allocations: 0 / 339.8 MB, free: 9.168 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.01169, allocations: 27.83 kB / 339.9 MB, free: 9.141 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003372/0.01506, allocations: 1.999 MB / 341.9 MB, free: 7.133 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.286e-06/0.01506, allocations: 0 / 341.9 MB, free: 7.133 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.038e-05/0.01513, allocations: 47.67 kB / 341.9 MB, free: 7.086 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.149e-05/0.01517, allocations: 4 kB / 341.9 MB, free: 7.082 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.415e-05/0.01524, allocations: 19.97 kB / 341.9 MB, free: 7.062 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.031e-05/0.01527, allocations: 4 kB / 341.9 MB, free: 7.059 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.825e-06/0.01528, allocations: 7.938 kB / 341.9 MB, free: 7.051 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004508/0.01979, allocations: 3.96 MB / 345.9 MB, free: 3.086 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.0198, allocations: 3.984 kB / 345.9 MB, free: 3.082 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.552e-05/0.01982, allocations: 11.94 kB / 345.9 MB, free: 3.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002382/0.02221, allocations: 2.561 MB / 348.5 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.02221, allocations: 3.938 kB / 348.5 MB, free: 0.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.02221, allocations: 0 / 348.5 MB, free: 0.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.02221, allocations: 0 / 348.5 MB, free: 0.5 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.0007502/0.02296, allocations: 487.9 kB / 349 MB, free: 0 / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.023, allocations: 8.078 kB / 349 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.02311, allocations: 32.8 kB / 349 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.14e-05/0.02318, allocations: 105.8 kB / 349.1 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.02319, allocations: 4.375 kB / 349.1 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-06/0.0232, allocations: 4.375 kB / 349.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.02334, allocations: 83.91 kB / 349.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.02334, allocations: 192 / 349.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.02335, allocations: 12.06 kB / 349.2 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.02336, allocations: 4 kB / 349.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.728e-05/0.02343, allocations: 31.97 kB / 349.2 MB, free: 15.68 MB / 330.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.0002289/0.02366, allocations: 256.4 kB / 349.5 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.02376, allocations: 54.52 kB / 349.5 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.388e-05/0.02378, allocations: 16.84 kB / 349.6 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/0.0343, allocations: 7.036 MB / 356.6 MB, free: 8.289 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.03432, allocations: 34.56 kB / 356.6 MB, free: 8.246 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.03432, allocations: 0 / 356.6 MB, free: 8.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002349/0.03456, allocations: 101.5 kB / 356.7 MB, free: 8.141 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.03458, allocations: 51.41 kB / 356.8 MB, free: 8.078 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.746e-05/0.03464, allocations: 102.7 kB / 356.9 MB, free: 7.965 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.03465, allocations: 29.7 kB / 356.9 MB, free: 7.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.03469, allocations: 99.95 kB / 357 MB, free: 7.828 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.336e-06/0.0347, allocations: 7.906 kB / 357 MB, free: 7.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.03473, allocations: 21.72 kB / 357 MB, free: 7.793 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003541/0.03508, allocations: 322.8 kB / 357.4 MB, free: 7.469 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-06/0.03509, allocations: 11.94 kB / 357.4 MB, free: 7.457 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.879e-05/0.03511, allocations: 18.58 kB / 357.4 MB, free: 7.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.179e-05/0.03514, allocations: 30.56 kB / 357.4 MB, free: 7.391 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.03514, allocations: 0 / 357.4 MB, free: 7.391 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.376e-05/0.0352, allocations: 57.56 kB / 357.5 MB, free: 7.328 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.03521, allocations: 11.92 kB / 357.5 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.03521, allocations: 4 kB / 357.5 MB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.03522, allocations: 0 / 357.5 MB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.89e-05/0.03526, allocations: 8.062 kB / 357.5 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.03527, allocations: 4 kB / 357.5 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.739e-05/0.03528, allocations: 7.953 kB / 357.5 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.03529, allocations: 0 / 357.5 MB, free: 7.293 MB / 330.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.87e-05/0.03534, allocations: 117.8 kB / 357.6 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.03535, allocations: 7.922 kB / 357.6 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001804/0.03553, allocations: 264 kB / 357.9 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.03554, allocations: 0 / 357.9 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.03554, allocations: 0 / 357.9 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.03554, allocations: 0 / 357.9 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.03566, allocations: 141.9 kB / 358 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.03567, allocations: 0 / 358 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.6e-05/0.03568, allocations: 8.188 kB / 358 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.03568, allocations: 0 / 358 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.03569, allocations: 7.938 kB / 358 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.03569, allocations: 0 / 358 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.03569, allocations: 0 / 358 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.03581, allocations: 262.3 kB / 358.3 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.03582, allocations: 24.19 kB / 358.3 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.814e-06/0.03583, allocations: 3.938 kB / 358.3 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.666e-05/0.03586, allocations: 7.938 kB / 358.3 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.03587, allocations: 8 kB / 358.3 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.03587, allocations: 0 / 358.3 MB, free: 6.406 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.141e-05/0.03588, allocations: 16.83 kB / 358.4 MB, free: 6.387 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03588, allocations: 0 / 358.4 MB, free: 6.387 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005956/0.03648, allocations: 447.4 kB / 358.8 MB, free: 5.949 MB / 330.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.001181/0.03766, allocations: 0.6536 MB / 359.4 MB, free: 5.285 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.785e-05/0.03773, allocations: 40.78 kB / 359.5 MB, free: 5.242 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.03773, allocations: 4 kB / 359.5 MB, free: 5.238 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.24e-05/0.03776, allocations: 40.77 kB / 359.5 MB, free: 5.195 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.03791, allocations: 19.97 kB / 359.5 MB, free: 5.176 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000558/0.03847, allocations: 303.6 kB / 359.8 MB, free: 4.848 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.934e-05/0.03851, allocations: 72.08 kB / 359.9 MB, free: 4.758 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.237e-05/0.03856, allocations: 27.95 kB / 359.9 MB, free: 4.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.0386, allocations: 59.38 kB / 360 MB, free: 4.672 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/0.0386, allocations: 0 / 360 MB, free: 4.672 MB / 330.7 MB Notification: Performance of Templates: time 0.01335/0.05195, allocations: 15.31 MB / 375.3 MB, free: 5.371 MB / 346.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 -s gbode -gbm=radauIIA3 -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.1278744991868734]