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.00181/0.00181, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.00286/0.00286, allocations: 215.3 kB / 23 MB, free: 5.609 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.43/1.43, allocations: 230.2 MB / 256.2 MB, free: 8.535 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.001839/0.001839, allocations: 71.88 kB / 376.4 MB, free: 3.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2311, allocations: 53.33 MB / 429.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01724/0.2484, allocations: 13.13 MB / 442.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01453/0.2629, allocations: 11.61 MB / 454.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.062e-05/0.263, allocations: 0 / 454.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.2633, allocations: 67.56 kB / 454.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.2636, allocations: 91.42 kB / 454.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.013/0.2766, allocations: 5.085 MB / 459.7 MB, free: 9.465 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003577/0.277, allocations: 234.9 kB / 460 MB, free: 9.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.277, allocations: 9.453 kB / 460 MB, free: 9.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004333/0.2775, allocations: 199.3 kB / 460.2 MB, free: 9.027 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.2776, allocations: 79.67 kB / 460.3 MB, free: 8.949 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.2776, allocations: 8 kB / 460.3 MB, free: 8.941 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01246/0.2901, allocations: 7.009 MB / 467.3 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.579e-05/0.2901, allocations: 27.91 kB / 467.3 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.2903, allocations: 63.73 kB / 467.4 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007246/0.2975, allocations: 3.886 MB / 471.3 MB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2975, allocations: 0 / 471.3 MB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2975, allocations: 0 / 471.3 MB, free: 13.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.2975, allocations: 0 / 471.3 MB, free: 13.94 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.004598/0.3021, allocations: 1.178 MB / 472.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3022, allocations: 8.031 kB / 472.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004929/0.3026, allocations: 44.84 kB / 472.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.303, allocations: 224.1 kB / 472.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.303, allocations: 16.66 kB / 472.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.303, allocations: 12.38 kB / 472.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.3044, allocations: 392.8 kB / 473.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.3044, allocations: 0 / 473.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.3044, allocations: 8 kB / 473.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.3045, allocations: 4 kB / 473.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.3059, allocations: 355.5 kB / 473.5 MB, free: 11.6 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.001522/0.3074, allocations: 1.184 MB / 474.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008576/0.3083, allocations: 267.8 kB / 474.9 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.3086, allocations: 110.9 kB / 475 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.105/0.4135, allocations: 52.81 MB / 0.5155 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.4136, allocations: 38.56 kB / 0.5155 GB, free: 14.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 2.094e-06/0.4136, allocations: 3.938 kB / 0.5155 GB, free: 14.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.007029/0.4206, allocations: 1.587 MB / 0.517 GB, free: 12.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.4207, allocations: 106.8 kB / 0.5172 GB, free: 12.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.4208, allocations: 121.7 kB / 0.5173 GB, free: 12.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.4208, allocations: 29.7 kB / 0.5173 GB, free: 12.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.464e-05/0.4209, allocations: 108.6 kB / 0.5174 GB, free: 12.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.421, allocations: 123 kB / 0.5175 GB, free: 12.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.4212, allocations: 65.69 kB / 0.5176 GB, free: 12.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4213, allocations: 326.8 kB / 0.5179 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.4217, allocations: 143.6 kB / 0.518 GB, free: 11.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004415/0.4221, allocations: 198.8 kB / 0.5182 GB, free: 11.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008448/0.423, allocations: 346.5 kB / 0.5185 GB, free: 11.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.423, allocations: 0 / 0.5185 GB, free: 11.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001146/0.4241, allocations: 430.2 kB / 0.519 GB, free: 10.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.4242, allocations: 12 kB / 0.519 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4242, allocations: 0 / 0.519 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002466/0.4244, allocations: 36.83 kB / 0.519 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/0.4249, allocations: 87.88 kB / 0.5191 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004282/0.4253, allocations: 0.5523 MB / 0.5196 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.4256, allocations: 27.95 kB / 0.5197 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/0.4256, allocations: 23.97 kB / 0.5197 GB, free: 9.926 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.0001415/0.4258, allocations: 129.8 kB / 0.5198 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-05/0.4259, allocations: 15.91 kB / 0.5198 GB, free: 9.773 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/0.4282, allocations: 1.455 MB / 0.5212 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/0.4282, allocations: 19.97 kB / 0.5213 GB, free: 8.289 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4282, allocations: 0 / 0.5213 GB, free: 8.289 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.4282, allocations: 4 kB / 0.5213 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/0.4313, allocations: 1.975 MB / 0.5232 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.4313, allocations: 3.984 kB / 0.5232 GB, free: 6.234 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/0.4318, allocations: 83.88 kB / 0.5233 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003217/0.4321, allocations: 76.86 kB / 0.5233 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.4321, allocations: 8 kB / 0.5234 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004093/0.4325, allocations: 0.5914 MB / 0.5239 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4325, allocations: 0 / 0.5239 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.4349, allocations: 1.694 MB / 0.5256 GB, free: 3.727 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.745e-05/0.435, allocations: 124.7 kB / 0.5257 GB, free: 3.586 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/0.435, allocations: 12.03 kB / 0.5257 GB, free: 3.574 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.4354, allocations: 27.91 kB / 0.5257 GB, free: 3.547 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/0.4355, allocations: 36.33 kB / 0.5258 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.4355, allocations: 15.94 kB / 0.5258 GB, free: 3.496 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.575e-05/0.4356, allocations: 99.14 kB / 0.5259 GB, free: 3.398 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4356, allocations: 0 / 0.5259 GB, free: 3.398 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00257/0.4382, allocations: 0.9747 MB / 0.5268 GB, free: 2.422 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.003708/0.4419, allocations: 1.141 MB / 0.528 GB, free: 1.266 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.4434, allocations: 0.5929 MB / 0.5285 GB, free: 0.668 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4434, allocations: 0 / 0.5285 GB, free: 0.668 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000838/0.4442, allocations: 453.4 kB / 0.529 GB, free: 232 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007527/0.4449, allocations: 78.53 kB / 0.529 GB, free: 156 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.4474, allocations: 1.318 MB / 0.5303 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.4478, allocations: 0.8139 MB / 0.5311 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003446/0.4482, allocations: 137.7 kB / 0.5313 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.4483, allocations: 35.42 kB / 0.5313 GB, free: 13.79 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4483, allocations: 0 / 0.5313 GB, free: 13.79 MB / 462.1 MB Notification: Performance of Templates: time 0.2184/0.6667, allocations: 36.67 MB / 0.5671 GB, free: 110.1 MB / 462.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins/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: 7.04807052668184]