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.001297/0.001297, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.001737/0.001737, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.419/1.419, allocations: 230.5 MB / 255.4 MB, free: 14.82 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.001875/0.001875, allocations: 71.83 kB / 374.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09964/0.1015, allocations: 53.32 MB / 428 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.1951/0.2966, allocations: 13.06 MB / 441.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01253/0.3091, allocations: 11.58 MB / 452.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.3093, allocations: 5 kB / 452.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003645/0.3096, allocations: 69.38 kB / 452.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.31, allocations: 83.5 kB / 452.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01686/0.3268, allocations: 5.089 MB / 457.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004556/0.3273, allocations: 237.4 kB / 458.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.287e-05/0.3274, allocations: 6.203 kB / 458.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005203/0.3279, allocations: 203.2 kB / 458.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.3281, allocations: 72.44 kB / 458.4 MB, free: 10.37 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.3281, allocations: 7.906 kB / 458.4 MB, free: 10.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01606/0.3442, allocations: 7.008 MB / 465.4 MB, free: 6.691 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.768e-05/0.3443, allocations: 25.61 kB / 465.5 MB, free: 6.672 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.3444, allocations: 80.14 kB / 465.5 MB, free: 6.625 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.3544, allocations: 3.879 MB / 469.4 MB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3544, allocations: 1.375 kB / 469.4 MB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3544, allocations: 0 / 469.4 MB, free: 4.145 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3545, allocations: 0 / 469.4 MB, free: 4.145 MB / 366.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.005426/0.3599, allocations: 1.169 MB / 470.6 MB, free: 3.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3599, allocations: 9.625 kB / 470.6 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005014/0.3604, allocations: 54.88 kB / 470.7 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.3608, allocations: 224.4 kB / 470.9 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.3608, allocations: 10.31 kB / 470.9 MB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.504e-05/0.3608, allocations: 14.44 kB / 470.9 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.3621, allocations: 389 kB / 471.3 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.3622, allocations: 3.281 kB / 471.3 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.3622, allocations: 5.938 kB / 471.3 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3622, allocations: 4 kB / 471.3 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.3637, allocations: 358 kB / 471.6 MB, free: 2.582 MB / 366.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.001487/0.3652, allocations: 1.175 MB / 472.8 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008908/0.3661, allocations: 272.4 kB / 473.1 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.3664, allocations: 115.2 kB / 473.2 MB, free: 1.164 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1074/0.4737, allocations: 52.8 MB / 0.5137 GB, free: 7.961 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.4738, allocations: 43.25 kB / 0.5137 GB, free: 7.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=23): time 1.723e-06/0.4738, allocations: 0 / 0.5137 GB, free: 7.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.007009/0.4808, allocations: 1.567 MB / 0.5152 GB, free: 6.289 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.46e-05/0.4809, allocations: 118.8 kB / 0.5154 GB, free: 6.148 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.481, allocations: 121.8 kB / 0.5155 GB, free: 6.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.481, allocations: 29.7 kB / 0.5155 GB, free: 5.984 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.143e-05/0.4811, allocations: 116.5 kB / 0.5156 GB, free: 5.867 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.4812, allocations: 115 kB / 0.5157 GB, free: 5.754 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.4813, allocations: 69.67 kB / 0.5158 GB, free: 5.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.4815, allocations: 326.8 kB / 0.5161 GB, free: 5.352 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004089/0.4819, allocations: 135.7 kB / 0.5162 GB, free: 5.219 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004591/0.4824, allocations: 198.5 kB / 0.5164 GB, free: 5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008979/0.4832, allocations: 361.2 kB / 0.5168 GB, free: 4.625 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4833, allocations: 3.938 kB / 0.5168 GB, free: 4.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001136/0.4844, allocations: 430 kB / 0.5172 GB, free: 4.191 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.4844, allocations: 8 kB / 0.5172 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4844, allocations: 0 / 0.5172 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000247/0.4847, allocations: 37.06 kB / 0.5172 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004708/0.4851, allocations: 87.88 kB / 0.5173 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004297/0.4856, allocations: 0.5523 MB / 0.5178 GB, free: 3.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.4859, allocations: 28.02 kB / 0.5179 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/0.4859, allocations: 19.98 kB / 0.5179 GB, free: 3.434 MB / 430.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.000153/0.486, allocations: 129.8 kB / 0.518 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-05/0.4861, allocations: 19.91 kB / 0.518 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.4884, allocations: 1.432 MB / 0.5194 GB, free: 1.832 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.263e-05/0.4884, allocations: 34.41 kB / 0.5195 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4884, allocations: 0 / 0.5195 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.4884, allocations: 0 / 0.5195 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00308/0.4915, allocations: 1.983 MB / 0.5214 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.4915, allocations: 128 / 0.5214 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/0.492, allocations: 83.86 kB / 0.5215 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003192/0.4923, allocations: 72.36 kB / 0.5215 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/0.4923, allocations: 15.98 kB / 0.5216 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004166/0.4927, allocations: 0.5914 MB / 0.5221 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.4927, allocations: 3.938 kB / 0.5221 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.4951, allocations: 1.699 MB / 0.5238 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.619e-05/0.4952, allocations: 124.6 kB / 0.5239 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/0.4953, allocations: 12 kB / 0.5239 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.4956, allocations: 24.02 kB / 0.524 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/0.4957, allocations: 35.84 kB / 0.524 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.4958, allocations: 11.98 kB / 0.524 GB, free: 13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.43e-05/0.4958, allocations: 95.27 kB / 0.5241 GB, free: 12.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4958, allocations: 0 / 0.5241 GB, free: 12.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003501/0.4993, allocations: 0.9747 MB / 0.525 GB, free: 11.93 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.004862/0.5042, allocations: 1.152 MB / 0.5262 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.5057, allocations: 0.5932 MB / 0.5267 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5057, allocations: 0 / 0.5267 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008099/0.5065, allocations: 445.2 kB / 0.5272 GB, free: 9.762 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007718/0.5073, allocations: 82.33 kB / 0.5272 GB, free: 9.684 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.5098, allocations: 1.34 MB / 0.5286 GB, free: 8.305 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.5102, allocations: 0.8178 MB / 0.5294 GB, free: 7.461 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.5104, allocations: 35.42 kB / 0.5294 GB, free: 7.426 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5104, allocations: 4 kB / 0.5294 GB, free: 7.422 MB / 446.1 MB Notification: Performance of Templates: time 0.03302/0.5434, allocations: 21.93 MB / 0.5508 GB, free: 1.477 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 -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: 9.493377291830257]