Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001598/0.001598, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002077/0.002077, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.57/1.57, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002574/0.002574, allocations: 63.89 kB / 378.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3792, allocations: 53.31 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01851/0.3977, allocations: 13.13 MB / 445.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01517/0.4129, allocations: 11.61 MB / 456.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.413, allocations: 0 / 456.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003637/0.4134, allocations: 75.55 kB / 456.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003585/0.4138, allocations: 87.38 kB / 456.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01499/0.4287, allocations: 5.084 MB / 462 MB, free: 9.328 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004365/0.4292, allocations: 231 kB / 462.2 MB, free: 9.102 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.751e-05/0.4292, allocations: 5.453 kB / 462.2 MB, free: 9.094 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005211/0.4298, allocations: 199.3 kB / 462.4 MB, free: 8.898 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.4299, allocations: 71.69 kB / 462.5 MB, free: 8.828 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.4299, allocations: 8 kB / 462.5 MB, free: 8.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01385/0.4438, allocations: 7.009 MB / 469.5 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.676e-05/0.4439, allocations: 31.89 kB / 469.5 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.444, allocations: 67.73 kB / 469.6 MB, free: 1.707 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008779/0.4528, allocations: 3.882 MB / 473.5 MB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.4528, allocations: 0 / 473.5 MB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4528, allocations: 7.938 kB / 473.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.4528, allocations: 4 kB / 473.5 MB, free: 13.8 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.4579, allocations: 1.171 MB / 474.7 MB, free: 12.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.4579, allocations: 8.031 kB / 474.7 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004857/0.4584, allocations: 52.84 kB / 474.7 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.4588, allocations: 220.1 kB / 475 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.4588, allocations: 12.66 kB / 475 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-05/0.4588, allocations: 12.38 kB / 475 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.4602, allocations: 388.8 kB / 475.4 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.4602, allocations: 4 kB / 475.4 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.4602, allocations: 11.94 kB / 475.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.4602, allocations: 4 kB / 475.4 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.4617, allocations: 363.5 kB / 475.7 MB, free: 11.46 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.001534/0.4633, allocations: 1.168 MB / 476.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008849/0.4641, allocations: 275.8 kB / 477.2 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/0.4644, allocations: 114.9 kB / 477.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1138/0.5782, allocations: 52.79 MB / 0.5176 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.25e-05/0.5783, allocations: 34.56 kB / 0.5177 GB, free: 14.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 2.915e-06/0.5783, allocations: 0 / 0.5177 GB, free: 14.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.007227/0.5855, allocations: 1.598 MB / 0.5192 GB, free: 12.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.368e-05/0.5856, allocations: 110.8 kB / 0.5193 GB, free: 12.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.5857, allocations: 117.8 kB / 0.5195 GB, free: 12.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/0.5857, allocations: 33.7 kB / 0.5195 GB, free: 12.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.096e-05/0.5858, allocations: 108.7 kB / 0.5196 GB, free: 12.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.5859, allocations: 119 kB / 0.5197 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.5861, allocations: 65.69 kB / 0.5198 GB, free: 12.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.5862, allocations: 326.8 kB / 0.5201 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/0.5866, allocations: 135.7 kB / 0.5202 GB, free: 11.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/0.5871, allocations: 199.1 kB / 0.5204 GB, free: 11.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008644/0.588, allocations: 362.5 kB / 0.5207 GB, free: 10.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.588, allocations: 0 / 0.5207 GB, free: 10.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00116/0.5891, allocations: 426 kB / 0.5212 GB, free: 10.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5891, allocations: 7.938 kB / 0.5212 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.5891, allocations: 7.984 kB / 0.5212 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002477/0.5894, allocations: 36.83 kB / 0.5212 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/0.5899, allocations: 92.03 kB / 0.5213 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004341/0.5903, allocations: 0.5562 MB / 0.5218 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.5906, allocations: 15.98 kB / 0.5219 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.5906, allocations: 16 kB / 0.5219 GB, free: 9.801 MB / 446.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.0001819/0.5908, allocations: 145.8 kB / 0.522 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.5909, allocations: 19.91 kB / 0.522 GB, free: 9.629 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.5933, allocations: 1.442 MB / 0.5234 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.618e-05/0.5933, allocations: 19.97 kB / 0.5235 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5933, allocations: 0 / 0.5235 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.5933, allocations: 8.016 kB / 0.5235 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003217/0.5965, allocations: 1.975 MB / 0.5254 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.5965, allocations: 0 / 0.5254 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/0.597, allocations: 79.92 kB / 0.5255 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003349/0.5973, allocations: 72.86 kB / 0.5255 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/0.5974, allocations: 15.98 kB / 0.5255 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004352/0.5978, allocations: 0.5874 MB / 0.5261 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5978, allocations: 4.031 kB / 0.5261 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.6002, allocations: 1.69 MB / 0.5278 GB, free: 3.598 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.6003, allocations: 132.6 kB / 0.5279 GB, free: 3.449 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.367e-05/0.6004, allocations: 12 kB / 0.5279 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.6008, allocations: 27.92 kB / 0.5279 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.6008, allocations: 31.89 kB / 0.528 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.6009, allocations: 19.98 kB / 0.528 GB, free: 3.359 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.84e-05/0.601, allocations: 91.27 kB / 0.5281 GB, free: 3.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.601, allocations: 0 / 0.5281 GB, free: 3.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003014/0.604, allocations: 0.9747 MB / 0.529 GB, free: 2.293 MB / 446.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.00481/0.6088, allocations: 1.145 MB / 0.5301 GB, free: 1.141 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.6103, allocations: 0.601 MB / 0.5307 GB, free: 0.543 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6103, allocations: 4.125 kB / 0.5307 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008219/0.6112, allocations: 448.6 kB / 0.5312 GB, free: 104 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000811/0.612, allocations: 76.3 kB / 0.5312 GB, free: 28 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.6148, allocations: 1.306 MB / 0.5325 GB, free: 14.67 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/0.6154, allocations: 0.8256 MB / 0.5333 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004038/0.6158, allocations: 125.8 kB / 0.5334 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.6159, allocations: 47.41 kB / 0.5335 GB, free: 13.65 MB / 462.1 MB Notification: Performance of SimCode: time 1.152e-06/0.6159, allocations: 0 / 0.5335 GB, free: 13.65 MB / 462.1 MB Notification: Performance of Templates: time 0.253/0.8689, allocations: 36.67 MB / 0.5693 GB, free: 110 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.669013824313879]