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.0015/0.0015, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001674/0.001674, allocations: 209.3 kB / 24.47 MB, free: 3.898 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.371/1.371, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.001863/0.001863, allocations: 67.83 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2474, allocations: 53.33 MB / 432 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01622/0.2636, allocations: 13.13 MB / 445.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01374/0.2774, allocations: 11.6 MB / 456.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.2775, allocations: 0 / 456.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003864/0.2779, allocations: 67.61 kB / 456.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.2782, allocations: 95.38 kB / 456.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01268/0.2909, allocations: 5.079 MB / 462 MB, free: 9.332 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.2913, allocations: 230.9 kB / 462.2 MB, free: 9.105 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.225e-05/0.2913, allocations: 13.45 kB / 462.2 MB, free: 9.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004173/0.2917, allocations: 199.3 kB / 462.4 MB, free: 8.895 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.2919, allocations: 75.69 kB / 462.5 MB, free: 8.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.2919, allocations: 8 kB / 462.5 MB, free: 8.812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01266/0.3045, allocations: 7.012 MB / 469.5 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.341e-05/0.3046, allocations: 23.92 kB / 469.6 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.3048, allocations: 71.72 kB / 469.6 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008162/0.3129, allocations: 3.882 MB / 473.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3129, allocations: 0 / 473.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3129, allocations: 0 / 473.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.3129, 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.004755/0.3177, allocations: 1.171 MB / 474.7 MB, free: 12.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3177, allocations: 8.031 kB / 474.7 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004688/0.3182, allocations: 52.84 kB / 474.7 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.3186, allocations: 224 kB / 475 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.3186, allocations: 12.66 kB / 475 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/0.3186, allocations: 12.38 kB / 475 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.3199, allocations: 392.8 kB / 475.4 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.3199, allocations: 4 kB / 475.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.32, allocations: 4 kB / 475.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.32, allocations: 4 kB / 475.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.3214, allocations: 367.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.00145/0.3228, allocations: 1.172 MB / 476.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008459/0.3237, allocations: 271.8 kB / 477.2 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.324, allocations: 118.8 kB / 477.3 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1087/0.4327, allocations: 52.79 MB / 0.5177 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.289e-05/0.4327, allocations: 38.55 kB / 0.5177 GB, free: 14.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 2.926e-06/0.4327, allocations: 0 / 0.5177 GB, free: 14.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.006998/0.4397, allocations: 1.581 MB / 0.5192 GB, free: 12.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.4398, allocations: 110.8 kB / 0.5194 GB, free: 12.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.4399, allocations: 121.7 kB / 0.5195 GB, free: 12.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.44, allocations: 37.7 kB / 0.5195 GB, free: 12.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.894e-05/0.44, allocations: 104.6 kB / 0.5196 GB, free: 12.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.4401, allocations: 119 kB / 0.5197 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.4403, allocations: 69.69 kB / 0.5198 GB, free: 12.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4404, allocations: 330.8 kB / 0.5201 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/0.4408, allocations: 131.7 kB / 0.5202 GB, free: 11.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004479/0.4413, allocations: 194.8 kB / 0.5204 GB, free: 11.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008644/0.4421, allocations: 350.5 kB / 0.5207 GB, free: 10.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4421, allocations: 4 kB / 0.5207 GB, free: 10.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00114/0.4433, allocations: 430 kB / 0.5212 GB, free: 10.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.4433, allocations: 4 kB / 0.5212 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.4433, allocations: 7.984 kB / 0.5212 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/0.4435, allocations: 28.84 kB / 0.5212 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/0.444, allocations: 91.88 kB / 0.5213 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004204/0.4444, allocations: 0.5641 MB / 0.5218 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.4447, allocations: 15.98 kB / 0.5218 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.4447, allocations: 19.98 kB / 0.5219 GB, free: 9.797 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.0001633/0.4449, allocations: 137.7 kB / 0.522 GB, free: 9.652 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.445, allocations: 19.91 kB / 0.522 GB, free: 9.633 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002199/0.4472, allocations: 1.444 MB / 0.5234 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/0.4472, allocations: 23.97 kB / 0.5235 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4472, allocations: 0 / 0.5235 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.4472, allocations: 3.984 kB / 0.5235 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003042/0.4503, allocations: 1.983 MB / 0.5254 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.4503, allocations: 4 kB / 0.5254 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004485/0.4507, allocations: 79.86 kB / 0.5255 GB, free: 6.012 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002935/0.451, allocations: 68.92 kB / 0.5255 GB, free: 5.941 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/0.451, allocations: 19.98 kB / 0.5256 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000391/0.4514, allocations: 0.5835 MB / 0.5261 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.4514, allocations: 8.344 kB / 0.5261 GB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/0.4538, allocations: 1.686 MB / 0.5278 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.958e-05/0.4539, allocations: 128.6 kB / 0.5279 GB, free: 3.445 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.4539, allocations: 12 kB / 0.5279 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.4543, allocations: 35.89 kB / 0.528 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.4544, allocations: 27.91 kB / 0.528 GB, free: 3.371 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.4544, allocations: 16.08 kB / 0.528 GB, free: 3.355 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.072e-05/0.4544, allocations: 91.27 kB / 0.5281 GB, free: 3.266 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4544, allocations: 0 / 0.5281 GB, free: 3.266 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002604/0.457, allocations: 0.9747 MB / 0.529 GB, free: 2.289 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.004233/0.4613, allocations: 1.149 MB / 0.5302 GB, free: 1.129 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.4627, allocations: 0.5968 MB / 0.5307 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.4627, allocations: 0 / 0.5307 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007586/0.4634, allocations: 453.4 kB / 0.5312 GB, free: 96 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007546/0.4642, allocations: 76.2 kB / 0.5312 GB, free: 20 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.4667, allocations: 1.347 MB / 0.5326 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.4671, allocations: 0.8178 MB / 0.5334 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.4673, allocations: 39.42 kB / 0.5334 GB, free: 13.73 MB / 462.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4673, allocations: 4 kB / 0.5334 GB, free: 13.73 MB / 462.1 MB Notification: Performance of Templates: time 0.2155/0.6827, allocations: 21.92 MB / 0.5548 GB, free: 114.4 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.439584445208311]