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.001975/0.001975, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002519/0.002519, allocations: 214.2 kB / 24.48 MB, free: 3.934 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.525/1.525, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.002042/0.002042, allocations: 63.89 kB / 379 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2687, allocations: 53.41 MB / 432.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01701/0.2857, allocations: 11.92 MB / 444.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01489/0.3006, allocations: 10.13 MB / 454.4 MB, free: 408 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.3007, allocations: 4 kB / 454.4 MB, free: 404 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004098/0.3011, allocations: 59.59 kB / 454.5 MB, free: 344 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004055/0.3016, allocations: 87.44 kB / 454.6 MB, free: 256 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0143/0.3159, allocations: 5.045 MB / 459.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004077/0.3163, allocations: 242.9 kB / 459.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.537e-05/0.3163, allocations: 5.641 kB / 459.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004675/0.3168, allocations: 179.4 kB / 460 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.3169, allocations: 71.67 kB / 460.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.3169, allocations: 8 kB / 460.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01308/0.33, allocations: 6.688 MB / 466.8 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.3301, allocations: 35.83 kB / 466.8 MB, free: 3.977 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.3303, allocations: 55.8 kB / 466.9 MB, free: 3.922 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00941/0.3397, allocations: 3.882 MB / 470.8 MB, free: 32 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.587e-06/0.3397, allocations: 8 kB / 470.8 MB, free: 24 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3397, allocations: 0 / 470.8 MB, free: 24 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.3397, allocations: 0 / 470.8 MB, free: 24 kB / 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.00492/0.3446, allocations: 1.091 MB / 471.9 MB, free: 14.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3447, allocations: 11.98 kB / 471.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004792/0.3452, allocations: 48.84 kB / 471.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.3455, allocations: 166.3 kB / 472.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.3455, allocations: 8.656 kB / 472.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.965e-05/0.3456, allocations: 20.38 kB / 472.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.3469, allocations: 444.4 kB / 472.5 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.3469, allocations: 4 kB / 472.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.3469, allocations: 4 kB / 472.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.3469, allocations: 4 kB / 472.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.3484, allocations: 355.5 kB / 472.9 MB, free: 13.79 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.001486/0.3499, allocations: 0.9933 MB / 473.9 MB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008793/0.3507, allocations: 271.8 kB / 474.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.351, allocations: 110.5 kB / 474.3 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09379/0.4448, allocations: 26.11 MB / 0.4887 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.4449, allocations: 38.56 kB / 0.4887 GB, free: 2.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.365e-06/0.4449, allocations: 0 / 0.4887 GB, free: 2.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.006997/0.4519, allocations: 1.515 MB / 0.4902 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.4519, allocations: 110.8 kB / 0.4903 GB, free: 468 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.4521, allocations: 129.8 kB / 0.4904 GB, free: 328 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.4521, allocations: 33.7 kB / 0.4904 GB, free: 288 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.454e-05/0.4522, allocations: 104.6 kB / 0.4905 GB, free: 180 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.4523, allocations: 122.9 kB / 0.4907 GB, free: 56 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.4524, allocations: 69.73 kB / 0.4907 GB, free: 15.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.4526, allocations: 326.8 kB / 0.491 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/0.453, allocations: 135.7 kB / 0.4912 GB, free: 15.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004543/0.4534, allocations: 198.8 kB / 0.4913 GB, free: 15.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008563/0.4543, allocations: 346.6 kB / 0.4917 GB, free: 14.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4543, allocations: 0 / 0.4917 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001146/0.4554, allocations: 429.9 kB / 0.4921 GB, free: 14.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.4555, allocations: 4 kB / 0.4921 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4555, allocations: 4 kB / 0.4921 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002535/0.4557, allocations: 37.05 kB / 0.4921 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004948/0.4562, allocations: 91.88 kB / 0.4922 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004497/0.4567, allocations: 0.5484 MB / 0.4928 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.4569, allocations: 24.02 kB / 0.4928 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.457, allocations: 16 kB / 0.4928 GB, free: 13.76 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.0001585/0.4571, allocations: 134.7 kB / 0.4929 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.4572, allocations: 19.91 kB / 0.4929 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/0.4596, allocations: 1.492 MB / 0.4944 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/0.4596, allocations: 27.84 kB / 0.4944 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.4596, allocations: 0 / 0.4944 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.4596, allocations: 7.984 kB / 0.4944 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/0.4627, allocations: 1.897 MB / 0.4963 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.4627, allocations: 4 kB / 0.4963 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004539/0.4631, allocations: 87.86 kB / 0.4964 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003191/0.4634, allocations: 76.69 kB / 0.4964 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.189e-05/0.4635, allocations: 15.98 kB / 0.4965 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004369/0.4639, allocations: 0.5876 MB / 0.497 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.4639, allocations: 4.031 kB / 0.497 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00245/0.4664, allocations: 1.745 MB / 0.4987 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.966e-05/0.4665, allocations: 47.53 kB / 0.4988 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.727e-05/0.4665, allocations: 8 kB / 0.4988 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/0.4669, allocations: 28.39 kB / 0.4988 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.497e-05/0.467, allocations: 35.83 kB / 0.4989 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.445e-05/0.467, allocations: 15.98 kB / 0.4989 GB, free: 7.406 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.577e-05/0.4671, allocations: 95.2 kB / 0.499 GB, free: 7.312 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4671, allocations: 4 kB / 0.499 GB, free: 7.309 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002786/0.4699, allocations: 0.9708 MB / 0.4999 GB, free: 6.336 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.004157/0.474, allocations: 1.159 MB / 0.501 GB, free: 5.168 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001481/0.4755, allocations: 0.6091 MB / 0.5016 GB, free: 4.559 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4755, allocations: 0 / 0.5016 GB, free: 4.559 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008308/0.4763, allocations: 465.2 kB / 0.5021 GB, free: 4.105 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007694/0.4771, allocations: 72.7 kB / 0.5022 GB, free: 4.035 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.4796, allocations: 1.383 MB / 0.5035 GB, free: 2.602 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.4798, allocations: 216.2 kB / 0.5037 GB, free: 2.371 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.48, allocations: 35.42 kB / 0.5037 GB, free: 2.336 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.48, allocations: 0 / 0.5037 GB, free: 2.336 MB / 414.1 MB Notification: Performance of Templates: time 0.03396/0.5139, allocations: 22.06 MB / 0.5253 GB, free: 12.25 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: 10.215740220155567]