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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001352, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001471/0.001471, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.386/1.386, allocations: 227.7 MB / 247.2 MB, free: 10.23 MB / 206.1 MB 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.002005/0.002005, allocations: 59.91 kB / 359 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2641, allocations: 50.55 MB / 409.5 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01723/0.2814, allocations: 13.01 MB / 422.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01442/0.2958, allocations: 11.54 MB / 434.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.296, allocations: 0 / 434.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003816/0.2965, allocations: 71.61 kB / 434.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.2968, allocations: 91.36 kB / 434.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01365/0.3105, allocations: 5.084 MB / 439.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003746/0.3108, allocations: 227 kB / 439.6 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.433e-05/0.3109, allocations: 13.44 kB / 439.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004421/0.3114, allocations: 191.3 kB / 439.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.3115, allocations: 75.69 kB / 439.8 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.3115, allocations: 8 kB / 439.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01317/0.3247, allocations: 7.001 MB / 446.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.832e-05/0.3248, allocations: 23.91 kB / 446.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.3249, allocations: 71.72 kB / 446.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00761/0.3325, allocations: 3.886 MB / 450.8 MB, free: 8.023 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3326, allocations: 0 / 450.8 MB, free: 8.023 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3326, allocations: 0 / 450.8 MB, free: 8.023 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3326, allocations: 0 / 450.8 MB, free: 8.023 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.004704/0.3373, allocations: 1.175 MB / 452 MB, free: 6.797 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3373, allocations: 8.031 kB / 452 MB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004997/0.3379, allocations: 48.84 kB / 452 MB, free: 6.742 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004317/0.3383, allocations: 228.1 kB / 452.3 MB, free: 6.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.3383, allocations: 8.656 kB / 452.3 MB, free: 6.473 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.764e-05/0.3384, allocations: 12.38 kB / 452.3 MB, free: 6.461 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.3404, allocations: 392.8 kB / 452.7 MB, free: 6.047 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.3404, allocations: 0 / 452.7 MB, free: 6.047 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.658e-05/0.3405, allocations: 8 kB / 452.7 MB, free: 6.039 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.3405, allocations: 7.938 kB / 452.7 MB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002249/0.3428, allocations: 355.5 kB / 453 MB, free: 5.684 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.00209/0.3449, allocations: 1.176 MB / 454.2 MB, free: 4.406 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.3462, allocations: 284.9 kB / 454.5 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004232/0.3467, allocations: 110.9 kB / 454.6 MB, free: 3.984 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1114/0.4581, allocations: 52.81 MB / 0.4955 GB, free: 8.527 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/0.4581, allocations: 34.56 kB / 0.4955 GB, free: 8.484 MB / 430.1 MB Notification: Performance of pre-optimization done (n=23): time 2.023e-06/0.4581, allocations: 4 kB / 0.4955 GB, free: 8.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.007203/0.4654, allocations: 1.583 MB / 0.4971 GB, free: 6.844 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.4654, allocations: 106.8 kB / 0.4972 GB, free: 6.715 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.4656, allocations: 129.8 kB / 0.4973 GB, free: 6.578 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.4656, allocations: 33.7 kB / 0.4974 GB, free: 6.539 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.4657, allocations: 108.6 kB / 0.4975 GB, free: 6.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.4658, allocations: 119 kB / 0.4976 GB, free: 6.312 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.4659, allocations: 65.69 kB / 0.4976 GB, free: 6.242 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4661, allocations: 326.8 kB / 0.4979 GB, free: 5.914 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004176/0.4665, allocations: 139.7 kB / 0.4981 GB, free: 5.777 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004741/0.467, allocations: 190.7 kB / 0.4983 GB, free: 5.566 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008855/0.4679, allocations: 354.5 kB / 0.4986 GB, free: 5.195 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4679, allocations: 3.938 kB / 0.4986 GB, free: 5.191 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001156/0.4691, allocations: 430 kB / 0.499 GB, free: 4.762 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.4691, allocations: 4 kB / 0.499 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.4691, allocations: 4 kB / 0.499 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000247/0.4694, allocations: 33.03 kB / 0.4991 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/0.4699, allocations: 99.88 kB / 0.4991 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004331/0.4703, allocations: 0.5484 MB / 0.4997 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.4706, allocations: 19.92 kB / 0.4997 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/0.4706, allocations: 19.98 kB / 0.4997 GB, free: 4.008 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.0001583/0.4708, allocations: 137.9 kB / 0.4999 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.4709, allocations: 19.91 kB / 0.4999 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/0.4733, allocations: 1.439 MB / 0.5013 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.02e-05/0.4733, allocations: 27.98 kB / 0.5013 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4733, allocations: 0 / 0.5013 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.4734, allocations: 0 / 0.5013 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003126/0.4765, allocations: 1.979 MB / 0.5032 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.4765, allocations: 0 / 0.5032 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/0.477, allocations: 87.98 kB / 0.5033 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003353/0.4773, allocations: 68.8 kB / 0.5034 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.738e-05/0.4774, allocations: 11.98 kB / 0.5034 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004292/0.4778, allocations: 0.5913 MB / 0.504 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.4778, allocations: 4.031 kB / 0.504 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/0.4802, allocations: 1.697 MB / 0.5056 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.823e-05/0.4804, allocations: 132.6 kB / 0.5058 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.4804, allocations: 8 kB / 0.5058 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.4808, allocations: 31.95 kB / 0.5058 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.4809, allocations: 24.34 kB / 0.5058 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/0.4809, allocations: 19.98 kB / 0.5058 GB, free: 13.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.537e-05/0.481, allocations: 95.2 kB / 0.5059 GB, free: 13.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.481, allocations: 4 kB / 0.5059 GB, free: 13.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002733/0.4837, allocations: 0.9747 MB / 0.5069 GB, free: 12.5 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.004005/0.4877, allocations: 1.149 MB / 0.508 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002109/0.4899, allocations: 0.6127 MB / 0.5086 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/0.4899, allocations: 4 kB / 0.5086 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.4911, allocations: 0.4968 MB / 0.5091 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.4922, allocations: 76.42 kB / 0.5092 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.4946, allocations: 1.321 MB / 0.5105 GB, free: 8.781 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.4951, allocations: 0.8177 MB / 0.5113 GB, free: 7.938 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003462/0.4954, allocations: 141.5 kB / 0.5114 GB, free: 7.805 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.4955, allocations: 35.42 kB / 0.5114 GB, free: 7.77 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4956, allocations: 4 kB / 0.5114 GB, free: 7.766 MB / 446.1 MB Notification: Performance of Templates: time 0.2171/0.7126, allocations: 36.32 MB / 0.5469 GB, free: 129.1 MB / 462.1 MB 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/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_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches