Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 113.4 kB / 17.73 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 184.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 47.94 kB / 328.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09044/0.0916, allocations: 46.63 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.203/0.2946, allocations: 12.91 MB / 388 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01224/0.3069, allocations: 11.54 MB / 399.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.3071, allocations: 1.5 kB / 399.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000342/0.3075, allocations: 79.83 kB / 399.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.3079, allocations: 77.03 kB / 399.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01646/0.3243, allocations: 5.067 MB / 404.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003714/0.3247, allocations: 234.4 kB / 405 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.3248, allocations: 16.5 kB / 405 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004051/0.3252, allocations: 196 kB / 405.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.3253, allocations: 74.8 kB / 405.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.3253, allocations: 8.188 kB / 405.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01377/0.3391, allocations: 6.987 MB / 412.3 MB, free: 8.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.977e-05/0.3392, allocations: 35.02 kB / 412.3 MB, free: 8.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.3394, allocations: 63.48 kB / 412.4 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.3497, allocations: 3.863 MB / 416.3 MB, free: 5.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3498, allocations: 1.125 kB / 416.3 MB, free: 5.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3498, allocations: 0 / 416.3 MB, free: 5.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.3498, allocations: 0 / 416.3 MB, free: 5.625 MB / 334.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.005209/0.355, allocations: 1.149 MB / 417.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3551, allocations: 8.906 kB / 417.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000525/0.3556, allocations: 54.45 kB / 417.5 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.3559, allocations: 220.1 kB / 417.7 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.3559, allocations: 11.12 kB / 417.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/0.356, allocations: 13.62 kB / 417.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.3573, allocations: 387.1 kB / 418.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.3573, allocations: 0.5 kB / 418.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.3573, allocations: 7.125 kB / 418.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3574, allocations: 3.344 kB / 418.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.3588, allocations: 357.8 kB / 418.4 MB, free: 4.094 MB / 334.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.001425/0.3602, allocations: 1.193 MB / 419.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008125/0.3611, allocations: 277.6 kB / 419.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.3614, allocations: 117 kB / 420 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0981/0.4595, allocations: 47.65 MB / 467.7 MB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.4596, allocations: 34.55 kB / 467.7 MB, free: 13.35 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.144e-06/0.4596, allocations: 0 / 467.7 MB, free: 13.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.007123/0.4667, allocations: 1.569 MB / 469.3 MB, free: 11.72 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.4668, allocations: 110.8 kB / 469.4 MB, free: 11.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.4669, allocations: 133.6 kB / 469.5 MB, free: 11.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.467, allocations: 29.7 kB / 469.5 MB, free: 11.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.491e-05/0.4671, allocations: 96.61 kB / 469.6 MB, free: 11.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.4672, allocations: 118.3 kB / 469.8 MB, free: 11.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.4673, allocations: 73.69 kB / 469.8 MB, free: 11.12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4675, allocations: 330.8 kB / 470.2 MB, free: 10.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/0.4679, allocations: 127.9 kB / 470.3 MB, free: 10.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/0.4683, allocations: 202.5 kB / 470.5 MB, free: 10.44 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008129/0.4692, allocations: 346.5 kB / 470.8 MB, free: 10.08 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4692, allocations: 3.938 kB / 470.8 MB, free: 10.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001142/0.4703, allocations: 430 kB / 471.2 MB, free: 9.645 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.4704, allocations: 7.984 kB / 471.2 MB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4704, allocations: 4 kB / 471.2 MB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000248/0.4706, allocations: 33.72 kB / 471.3 MB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.4711, allocations: 87.88 kB / 471.4 MB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003934/0.4715, allocations: 0.5563 MB / 471.9 MB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.4718, allocations: 19.98 kB / 471.9 MB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.4719, allocations: 15.98 kB / 472 MB, free: 8.895 MB / 398.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.0001589/0.472, allocations: 144.6 kB / 472.1 MB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.4721, allocations: 22.44 kB / 472.1 MB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.4744, allocations: 1.439 MB / 473.6 MB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-05/0.4744, allocations: 27.91 kB / 473.6 MB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4744, allocations: 0 / 473.6 MB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.4744, allocations: 3.984 kB / 473.6 MB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.4773, allocations: 1.987 MB / 475.6 MB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4774, allocations: 0 / 475.6 MB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.4778, allocations: 79.86 kB / 475.7 MB, free: 5.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003132/0.4782, allocations: 72.92 kB / 475.7 MB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.147e-05/0.4782, allocations: 16.36 kB / 475.7 MB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003667/0.4786, allocations: 0.5847 MB / 476.3 MB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.4786, allocations: 3.938 kB / 476.3 MB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.4809, allocations: 1.69 MB / 478 MB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.481, allocations: 132.2 kB / 478.2 MB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.529e-05/0.481, allocations: 8 kB / 478.2 MB, free: 2.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.4814, allocations: 28.02 kB / 478.2 MB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.27e-05/0.4815, allocations: 39.84 kB / 478.2 MB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.4816, allocations: 11.98 kB / 478.2 MB, free: 2.449 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.006e-05/0.4817, allocations: 91.27 kB / 478.3 MB, free: 2.359 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4817, allocations: 0 / 478.3 MB, free: 2.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003476/0.4851, allocations: 0.9527 MB / 479.3 MB, free: 1.406 MB / 398.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.005372/0.4905, allocations: 1.14 MB / 480.4 MB, free: 264 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001529/0.4921, allocations: 0.6124 MB / 481 MB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4921, allocations: 0 / 481 MB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008042/0.4929, allocations: 0.5053 MB / 481.5 MB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008233/0.4937, allocations: 81.31 kB / 481.6 MB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/0.4961, allocations: 1.3 MB / 482.9 MB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.4964, allocations: 0.8139 MB / 483.7 MB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000369/0.4968, allocations: 145.7 kB / 483.9 MB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.497, allocations: 39.41 kB / 483.9 MB, free: 12.7 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.497, allocations: 0 / 483.9 MB, free: 12.7 MB / 414.1 MB Notification: Performance of Templates: time 0.04717/0.5442, allocations: 36.25 MB / 0.508 GB, free: 8.383 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.2.3_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches