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.00142/0.00142, allocations: 105.4 kB / 18.35 MB, free: 4.77 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.001537/0.001537, allocations: 192 kB / 19.29 MB, free: 3.84 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.286/1.286, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001184/0.001184, allocations: 59.92 kB / 282.1 MB, free: 2.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07472/0.07592, allocations: 46.63 MB / 328.7 MB, free: 3.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01436/0.09031, allocations: 12.91 MB / 341.6 MB, free: 6.805 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.1024, allocations: 11.53 MB / 353.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.987e-05/0.1026, allocations: 0 / 353.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.1029, allocations: 75.55 kB / 353.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.1032, allocations: 79.44 kB / 353.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01175/0.1149, allocations: 5.061 MB / 358.4 MB, free: 6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003332/0.1153, allocations: 230.9 kB / 358.6 MB, free: 5.773 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.1153, allocations: 9.453 kB / 358.6 MB, free: 5.762 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003767/0.1157, allocations: 203.3 kB / 358.8 MB, free: 5.562 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1158, allocations: 75.75 kB / 358.9 MB, free: 5.488 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.1159, allocations: 8 kB / 358.9 MB, free: 5.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01164/0.1275, allocations: 6.973 MB / 365.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.228e-05/0.1276, allocations: 35.89 kB / 365.9 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.1277, allocations: 71.67 kB / 366 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006592/0.1343, allocations: 3.864 MB / 369.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1344, allocations: 0 / 369.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1344, allocations: 0 / 369.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1344, allocations: 0 / 369.8 MB, free: 10.52 MB / 318.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.004255/0.1386, allocations: 1.15 MB / 371 MB, free: 9.324 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1387, allocations: 12.03 kB / 371 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004862/0.1392, allocations: 44.8 kB / 371 MB, free: 9.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.1395, allocations: 220.1 kB / 371.3 MB, free: 9.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.1395, allocations: 16.38 kB / 371.3 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/0.1396, allocations: 12.38 kB / 371.3 MB, free: 8.988 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.1408, allocations: 388 kB / 371.7 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1408, allocations: 0 / 371.7 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.1409, allocations: 4 kB / 371.7 MB, free: 8.574 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1409, allocations: 4 kB / 371.7 MB, free: 8.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.1423, allocations: 355.5 kB / 372 MB, free: 8.223 MB / 318.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.001278/0.1436, allocations: 1.199 MB / 373.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008101/0.1444, allocations: 279.7 kB / 373.5 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.1447, allocations: 118.9 kB / 373.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2108/0.3554, allocations: 47.64 MB / 421.3 MB, free: 18.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.3555, allocations: 38.55 kB / 421.3 MB, free: 18.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.923e-06/0.3555, allocations: 0 / 421.3 MB, free: 18.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.006328/0.3619, allocations: 1.584 MB / 422.9 MB, free: 16.9 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.3619, allocations: 106.8 kB / 423 MB, free: 16.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.358e-05/0.362, allocations: 113.8 kB / 423.1 MB, free: 16.65 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.362, allocations: 33.7 kB / 423.1 MB, free: 16.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.3621, allocations: 110.1 kB / 423.2 MB, free: 16.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.224e-05/0.3621, allocations: 120.5 kB / 423.3 MB, free: 16.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.3622, allocations: 77.19 kB / 423.4 MB, free: 16.31 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.117e-05/0.3623, allocations: 326.8 kB / 423.7 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.3626, allocations: 135.9 kB / 423.9 MB, free: 15.85 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/0.363, allocations: 198.5 kB / 424.1 MB, free: 15.63 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006835/0.3637, allocations: 354.4 kB / 424.4 MB, free: 15.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3637, allocations: 0 / 424.4 MB, free: 15.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009278/0.3646, allocations: 422 kB / 424.8 MB, free: 14.85 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3647, allocations: 4 kB / 424.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.3647, allocations: 4 kB / 424.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002224/0.3649, allocations: 32.83 kB / 424.9 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004394/0.3654, allocations: 96.03 kB / 425 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002386/0.3656, allocations: 0.5445 MB / 425.5 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/0.3659, allocations: 23.97 kB / 425.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.366, allocations: 16 kB / 425.5 MB, free: 14.1 MB / 318.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.0001078/0.3661, allocations: 133.9 kB / 425.7 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.807e-05/0.3662, allocations: 19.75 kB / 425.7 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.3679, allocations: 1.448 MB / 427.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.3679, allocations: 23.97 kB / 427.2 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3679, allocations: 0 / 427.2 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.3679, allocations: 8.016 kB / 427.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.3703, allocations: 1.974 MB / 429.1 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.3703, allocations: 0 / 429.1 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.3707, allocations: 83.86 kB / 429.2 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003035/0.371, allocations: 72.83 kB / 429.3 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/0.3711, allocations: 15.98 kB / 429.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002205/0.3713, allocations: 0.5874 MB / 429.9 MB, free: 9.641 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3713, allocations: 4.031 kB / 429.9 MB, free: 9.637 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.373, allocations: 1.69 MB / 431.6 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.3731, allocations: 128.5 kB / 431.7 MB, free: 7.777 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.3732, allocations: 13.25 kB / 431.7 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/0.3735, allocations: 31.61 kB / 431.8 MB, free: 7.738 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.3736, allocations: 27.95 kB / 431.8 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.3736, allocations: 15.98 kB / 431.8 MB, free: 7.695 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.455e-05/0.3737, allocations: 90.28 kB / 431.9 MB, free: 7.609 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3737, allocations: 0 / 431.9 MB, free: 7.609 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002305/0.376, allocations: 0.9566 MB / 432.9 MB, free: 6.727 MB / 318.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.004208/0.3802, allocations: 1.143 MB / 434 MB, free: 5.711 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.3814, allocations: 0.6014 MB / 434.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3815, allocations: 8.125 kB / 434.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006571/0.3821, allocations: 0.5123 MB / 435.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007496/0.3829, allocations: 85.92 kB / 435.2 MB, free: 4.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.3849, allocations: 1.296 MB / 436.5 MB, free: 3.191 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.3851, allocations: 0.8217 MB / 437.3 MB, free: 2.336 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003064/0.3855, allocations: 130.4 kB / 437.4 MB, free: 2.211 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.3856, allocations: 39.42 kB / 437.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3856, allocations: 0 / 437.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of Templates: time 0.04532/0.4309, allocations: 36.16 MB / 473.6 MB, free: 13.99 MB / 366.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins1/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