Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 109.4 kB / 17.73 MB, free: 5.363 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.001517/0.001517, allocations: 188.1 kB / 18.66 MB, free: 4.441 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.397/1.397, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.00143/0.00143, allocations: 44.41 kB / 328.5 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.102, allocations: 46.62 MB / 375.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.2237/0.3258, allocations: 4.829 MB / 380 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00324/0.3291, allocations: 1.401 MB / 381.4 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003846/0.3295, allocations: 8.25 kB / 381.4 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004795/0.3301, allocations: 153 kB / 381.5 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008922/0.331, allocations: 342.7 kB / 381.9 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006421/0.3317, allocations: 226.2 kB / 382.1 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001449/0.3331, allocations: 1.036 MB / 383.1 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000665/0.3338, allocations: 292.2 kB / 383.4 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007207/0.3345, allocations: 413.5 kB / 383.8 MB, free: 9.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006936/0.3352, allocations: 449.3 kB / 384.2 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.3354, allocations: 87.84 kB / 384.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.3356, allocations: 88.88 kB / 384.4 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002292/0.3359, allocations: 199.9 kB / 384.6 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005686/0.3365, allocations: 476.5 kB / 385.1 MB, free: 8.492 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.3379, allocations: 1.076 MB / 386.1 MB, free: 8.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.338, allocations: 0 / 386.1 MB, free: 8.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.338, allocations: 0 / 386.1 MB, free: 8.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.338, allocations: 0 / 386.1 MB, free: 8.094 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002802/0.3408, allocations: 1.219 MB / 387.4 MB, free: 7.238 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.413e-05/0.3409, allocations: 9 kB / 387.4 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002489/0.3411, allocations: 96.31 kB / 387.5 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009463/0.3421, allocations: 0.516 MB / 388 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/0.3423, allocations: 100.1 kB / 388.1 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.3424, allocations: 53.19 kB / 388.1 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.3442, allocations: 0.8012 MB / 388.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.3443, allocations: 0 / 388.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.579e-05/0.3444, allocations: 25.33 kB / 389 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.3444, allocations: 11.66 kB / 389 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.3461, allocations: 0.4963 MB / 389.5 MB, free: 6.02 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.00425/0.3504, allocations: 2.152 MB / 391.6 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.3521, allocations: 0.5268 MB / 392.1 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008142/0.3529, allocations: 271.2 kB / 392.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.981e-05/0.353, allocations: 13.34 kB / 392.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.354, allocations: 325.9 kB / 392.7 MB, free: 4.195 MB / 318.1 MB Notification: Performance of pre-optimization done (n=56): time 3.948e-06/0.3541, allocations: 0 / 392.7 MB, free: 4.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=56): time 0.006911/0.361, allocations: 1.498 MB / 394.2 MB, free: 3.605 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001982/0.3612, allocations: 0.821 MB / 395.1 MB, free: 2.602 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.3623, allocations: 0.5925 MB / 395.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.399e-05/0.3624, allocations: 40.36 kB / 395.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/0.3627, allocations: 332.7 kB / 396 MB, free: 2.027 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.3629, allocations: 191.4 kB / 396.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002855/0.3632, allocations: 131.5 kB / 396.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3633, allocations: 375.8 kB / 396.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007989/0.3641, allocations: 212.9 kB / 396.9 MB, free: 1.406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.3654, allocations: 0.5183 MB / 397.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.367, allocations: 0.5597 MB / 398 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.3671, allocations: 1.406 kB / 398 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003143/0.3702, allocations: 0.9044 MB / 398.9 MB, free: 252 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.973e-05/0.3703, allocations: 60.92 kB / 399 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.3703, allocations: 3.203 kB / 399 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009683/0.3713, allocations: 221.6 kB / 399.2 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000841/0.3721, allocations: 112.3 kB / 399.3 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009311/0.3815, allocations: 4.592 MB / 403.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.3831, allocations: 82.64 kB / 404 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.3833, allocations: 21.84 kB / 404 MB, free: 12.38 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000655/0.3839, allocations: 212.8 kB / 404.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.3842, allocations: 87.91 kB / 404.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.3844, allocations: 79.59 kB / 404.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.3845, allocations: 9.688 kB / 404.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.3845, allocations: 0.9844 kB / 404.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003168/0.3877, allocations: 1.046 MB / 405.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004396/0.3921, allocations: 1.541 MB / 406.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.3921, allocations: 1.094 kB / 406.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009834/0.3931, allocations: 109.3 kB / 407.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008354/0.3939, allocations: 170.8 kB / 407.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.146e-05/0.394, allocations: 14.42 kB / 407.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00734/0.4014, allocations: 3.93 MB / 411.2 MB, free: 6.496 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.4014, allocations: 5.125 kB / 411.2 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003892/0.4053, allocations: 1.019 MB / 412.2 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006507/0.406, allocations: 217.4 kB / 412.4 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.4062, allocations: 19.38 kB / 412.4 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009656/0.4071, allocations: 48.97 kB / 412.5 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/0.4074, allocations: 46.25 kB / 412.5 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.996e-05/0.4075, allocations: 18.39 kB / 412.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008347/0.4083, allocations: 418.3 kB / 412.9 MB, free: 5.383 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.4083, allocations: 0 / 412.9 MB, free: 5.383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001468/0.4098, allocations: 251.6 kB / 413.2 MB, free: 5.344 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002423/0.4101, allocations: 129.5 kB / 413.3 MB, free: 5.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003256/0.4133, allocations: 1.02 MB / 414.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.4134, allocations: 6.219 kB / 414.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.4149, allocations: 0.5444 MB / 414.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.4164, allocations: 219.1 kB / 415.1 MB, free: 4.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/0.4203, allocations: 1.306 MB / 416.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007144/0.421, allocations: 0.9172 MB / 417.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006312/0.4217, allocations: 85.7 kB / 417.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.4219, allocations: 53.28 kB / 417.5 MB, free: 2.383 MB / 334.1 MB Notification: Performance of SimCode: time 9.71e-07/0.4219, allocations: 0 / 417.5 MB, free: 2.383 MB / 334.1 MB Notification: Performance of Templates: time 0.03958/0.4615, allocations: 16.3 MB / 433.8 MB, free: 2.746 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches