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.001393/0.001393, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001621/0.001621, allocations: 217 kB / 24.5 MB, free: 4.133 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.448/1.448, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002083/0.002083, allocations: 59.91 kB / 379 MB, free: 2.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2815, allocations: 53.4 MB / 432.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01718/0.2987, allocations: 13.13 MB / 445.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01511/0.3138, allocations: 11.62 MB / 457.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.3139, allocations: 0 / 457.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.3143, allocations: 71.55 kB / 457.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.3147, allocations: 95.42 kB / 457.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01466/0.3293, allocations: 5.081 MB / 462.4 MB, free: 8.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004492/0.3298, allocations: 234.9 kB / 462.6 MB, free: 8.449 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.041e-05/0.3298, allocations: 9.625 kB / 462.7 MB, free: 8.434 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005252/0.3304, allocations: 203.4 kB / 462.9 MB, free: 8.234 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.3305, allocations: 79.62 kB / 462.9 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.3305, allocations: 8 kB / 462.9 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01416/0.3447, allocations: 7.005 MB / 469.9 MB, free: 1.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.3448, allocations: 31.89 kB / 470 MB, free: 1.105 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.345, allocations: 71.67 kB / 470 MB, free: 1.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009645/0.3546, allocations: 3.882 MB / 473.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.3546, allocations: 4 kB / 473.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3546, allocations: 0 / 473.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.3546, allocations: 0 / 473.9 MB, free: 13.14 MB / 382.1 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.005072/0.3597, allocations: 1.095 MB / 475 MB, free: 12.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3597, allocations: 8.031 kB / 475 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005028/0.3603, allocations: 48.84 kB / 475.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.3606, allocations: 162.3 kB / 475.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.3607, allocations: 16.66 kB / 475.3 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.953e-05/0.3607, allocations: 16.38 kB / 475.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.362, allocations: 389 kB / 475.7 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.362, allocations: 15.86 kB / 475.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.3621, allocations: 7.938 kB / 475.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.3621, allocations: 4 kB / 475.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.3635, allocations: 355.6 kB / 476 MB, free: 10.96 MB / 382.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.001588/0.3651, allocations: 1.152 MB / 477.2 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008662/0.366, allocations: 267.8 kB / 477.4 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.3663, allocations: 114.5 kB / 477.6 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09136/0.4576, allocations: 26.01 MB / 0.4918 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.903e-05/0.4577, allocations: 42.5 kB / 0.4918 GB, free: 15.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 3.286e-06/0.4577, allocations: 0 / 0.4918 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.007234/0.4649, allocations: 1.523 MB / 0.4933 GB, free: 13.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.465, allocations: 106.8 kB / 0.4934 GB, free: 13.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.4651, allocations: 117.8 kB / 0.4935 GB, free: 13.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.4652, allocations: 33.7 kB / 0.4935 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.4653, allocations: 108.6 kB / 0.4936 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.4654, allocations: 119 kB / 0.4937 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.4655, allocations: 69.69 kB / 0.4938 GB, free: 13.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4657, allocations: 322.8 kB / 0.4941 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003988/0.4661, allocations: 143.7 kB / 0.4943 GB, free: 12.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/0.4665, allocations: 202.6 kB / 0.4945 GB, free: 12.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008237/0.4673, allocations: 346.5 kB / 0.4948 GB, free: 12.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4673, allocations: 3.984 kB / 0.4948 GB, free: 12 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001135/0.4685, allocations: 422 kB / 0.4952 GB, free: 11.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.4685, allocations: 6.719 kB / 0.4952 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.4685, allocations: 8 kB / 0.4952 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002618/0.4688, allocations: 36.77 kB / 0.4952 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.4692, allocations: 91.88 kB / 0.4953 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004352/0.4697, allocations: 0.5407 MB / 0.4959 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.47, allocations: 28.44 kB / 0.4959 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.47, allocations: 12 kB / 0.4959 GB, free: 10.84 MB / 414.1 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.0001703/0.4702, allocations: 137.7 kB / 0.496 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.4703, allocations: 15.91 kB / 0.496 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002363/0.4726, allocations: 1.509 MB / 0.4975 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-05/0.4727, allocations: 19.97 kB / 0.4975 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4727, allocations: 0 / 0.4975 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.4727, allocations: 7.984 kB / 0.4975 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/0.4759, allocations: 2.002 MB / 0.4995 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.4759, allocations: 4 kB / 0.4995 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004517/0.4764, allocations: 83.86 kB / 0.4996 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003412/0.4767, allocations: 68.8 kB / 0.4996 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/0.4767, allocations: 16.11 kB / 0.4997 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004487/0.4772, allocations: 0.603 MB / 0.5002 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4772, allocations: 0 / 0.5002 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/0.4796, allocations: 1.741 MB / 0.5019 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.4797, allocations: 51.53 kB / 0.502 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/0.4798, allocations: 8 kB / 0.502 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.4802, allocations: 27.95 kB / 0.502 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.951e-05/0.4803, allocations: 31.95 kB / 0.5021 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.4803, allocations: 15.98 kB / 0.5021 GB, free: 4.359 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.669e-05/0.4804, allocations: 91.27 kB / 0.5022 GB, free: 4.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4804, allocations: 3.938 kB / 0.5022 GB, free: 4.266 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003057/0.4834, allocations: 0.9747 MB / 0.5031 GB, free: 3.289 MB / 414.1 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.005014/0.4884, allocations: 1.158 MB / 0.5043 GB, free: 2.125 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.49, allocations: 0.605 MB / 0.5048 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.49, allocations: 0 / 0.5048 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008596/0.4909, allocations: 469.4 kB / 0.5053 GB, free: 1.066 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008048/0.4917, allocations: 80.14 kB / 0.5054 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.4943, allocations: 1.375 MB / 0.5067 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/0.4948, allocations: 0.8216 MB / 0.5075 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.495, allocations: 35.41 kB / 0.5075 GB, free: 14.68 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.495, allocations: 0 / 0.5075 GB, free: 14.68 MB / 430.1 MB Notification: Performance of Templates: time 0.0354/0.5304, allocations: 21.92 MB / 0.529 GB, free: 8.727 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.WaterIF97.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: 9.963000028161332]