Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.WaterIF97.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.000892/0.000892, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0008752/0.0008752, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9/0.9, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.WaterIF97") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.651e-05, allocations: 9.125 kB / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01071/0.01072, allocations: 13.03 MB / 285.9 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1203/0.131, allocations: 11.27 MB / 297.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.1311, allocations: 8.938 kB / 297.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.1315, allocations: 58.61 kB / 297.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.1318, allocations: 98.7 kB / 297.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01272/0.1445, allocations: 5.101 MB / 302.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003863/0.1449, allocations: 241.3 kB / 302.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.215e-05/0.1449, allocations: 6.172 kB / 302.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004211/0.1453, allocations: 219.1 kB / 302.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.1455, allocations: 58.7 kB / 303 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.1455, allocations: 7.656 kB / 303 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01028/0.1558, allocations: 6.695 MB / 309.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.482e-05/0.1558, allocations: 28.53 kB / 309.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.156, allocations: 59.17 kB / 309.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008722/0.1647, allocations: 4.961 MB / 314.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.1647, allocations: 0 / 314.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1647, allocations: 4 kB / 314.7 MB, free: 7.188 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.1647, allocations: 0 / 314.7 MB, free: 7.188 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.003053/0.1677, allocations: 1.114 MB / 315.8 MB, free: 6.039 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.1678, allocations: 11.98 kB / 315.8 MB, free: 6.027 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003337/0.1681, allocations: 80.56 kB / 315.9 MB, free: 5.949 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.1683, allocations: 164.4 kB / 316.1 MB, free: 5.762 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.1683, allocations: 16.66 kB / 316.1 MB, free: 5.746 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.1684, allocations: 12.38 kB / 316.1 MB, free: 5.734 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006108/0.169, allocations: 428.5 kB / 316.5 MB, free: 5.262 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.169, allocations: 384 / 316.5 MB, free: 5.262 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.169, allocations: 20.48 kB / 316.5 MB, free: 5.242 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.169, allocations: 4 kB / 316.5 MB, free: 5.238 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004434/0.1695, allocations: 259.6 kB / 316.8 MB, free: 4.984 MB / 266.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.0007168/0.1702, allocations: 1.356 MB / 318.2 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.1706, allocations: 274.4 kB / 318.4 MB, free: 3.262 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.688e-05/0.1706, allocations: 91.03 kB / 318.5 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04488/0.2155, allocations: 26.13 MB / 344.6 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.2156, allocations: 38.45 kB / 344.7 MB, free: 8.977 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 2.585e-06/0.2156, allocations: 3.938 kB / 344.7 MB, free: 8.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.003296/0.2189, allocations: 1.242 MB / 345.9 MB, free: 7.691 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.2189, allocations: 106.8 kB / 346 MB, free: 7.562 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.219, allocations: 183.9 kB / 346.2 MB, free: 7.367 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.2191, allocations: 33.7 kB / 346.2 MB, free: 7.328 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.2191, allocations: 151.3 kB / 346.4 MB, free: 7.176 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.285e-05/0.2192, allocations: 122.2 kB / 346.5 MB, free: 7.059 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.511e-05/0.2193, allocations: 83.06 kB / 346.6 MB, free: 6.969 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004148/0.2197, allocations: 0.5002 MB / 347.1 MB, free: 6.457 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.2199, allocations: 92.88 kB / 347.2 MB, free: 6.367 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.22, allocations: 173.4 kB / 347.3 MB, free: 6.164 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.2204, allocations: 293.2 kB / 347.6 MB, free: 5.844 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2204, allocations: 0 / 347.6 MB, free: 5.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005573/0.2209, allocations: 348.8 kB / 348 MB, free: 5.492 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.221, allocations: 16.5 kB / 348 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.221, allocations: 4.219 kB / 348 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.2212, allocations: 31.67 kB / 348 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.2214, allocations: 87.88 kB / 348.1 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003557/0.2218, allocations: 0.7928 MB / 348.9 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.2219, allocations: 15.98 kB / 348.9 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.2219, allocations: 19.14 kB / 348.9 MB, free: 4.496 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.222, allocations: 180.5 kB / 349.1 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.549e-05/0.2221, allocations: 27.91 kB / 349.1 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.2231, allocations: 0.969 MB / 350.1 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/0.2232, allocations: 23.97 kB / 350.1 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2232, allocations: 0 / 350.1 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2232, allocations: 0 / 350.1 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.2246, allocations: 1.326 MB / 351.5 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.2246, allocations: 0 / 351.5 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.2248, allocations: 75.88 kB / 351.5 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002007/0.225, allocations: 59.58 kB / 351.6 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.2251, allocations: 11.94 kB / 351.6 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002931/0.2253, allocations: 0.8002 MB / 352.4 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.2254, allocations: 7.938 kB / 352.4 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.2264, allocations: 1.244 MB / 353.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/0.2264, allocations: 47.58 kB / 353.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.2265, allocations: 8 kB / 353.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.2267, allocations: 20.05 kB / 353.7 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.2267, allocations: 39.52 kB / 353.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.2267, allocations: 11.98 kB / 353.8 MB, free: 15.51 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.164e-05/0.2268, allocations: 140.2 kB / 353.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2268, allocations: 0 / 353.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002538/0.2293, allocations: 0.9747 MB / 354.9 MB, free: 14.4 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003473/0.2328, allocations: 1.279 MB / 356.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007638/0.2336, allocations: 404.3 kB / 356.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2336, allocations: 0 / 356.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.2339, allocations: 305.8 kB / 356.9 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000525/0.2344, allocations: 94.05 kB / 357 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.2362, allocations: 1.088 MB / 358 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.269e-05/0.2362, allocations: 131.7 kB / 358.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.2365, allocations: 140.4 kB / 358.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.928e-05/0.2366, allocations: 36.48 kB / 358.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of SimCode: time 1.593e-06/0.2366, allocations: 0 / 358.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of Templates: time 0.04628/0.2829, allocations: 43.3 MB / 401.6 MB, free: 15.74 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.WaterIF97.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_trunk_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/WaterIF97/WaterIF97.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: 4.9277766100130975]