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.001183/0.001183, allocations: 110.5 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.001332/0.001332, allocations: 183.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.449/1.449, 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.001454/0.001454, allocations: 47.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1214, allocations: 46.61 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.2359/0.3573, allocations: 4.822 MB / 380 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00316/0.3605, allocations: 1.406 MB / 381.4 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000319/0.3609, allocations: 10.81 kB / 381.4 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000489/0.3614, allocations: 152.2 kB / 381.5 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007205/0.3621, allocations: 340 kB / 381.9 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.3627, allocations: 212.1 kB / 382.1 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.364, allocations: 1.037 MB / 383.1 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006093/0.3646, allocations: 293.7 kB / 383.4 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006367/0.3653, allocations: 413.6 kB / 383.8 MB, free: 9.016 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005789/0.3658, allocations: 450.9 kB / 384.2 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001776/0.366, allocations: 91.84 kB / 384.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.3662, allocations: 89.5 kB / 384.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.3664, allocations: 195.9 kB / 384.6 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004616/0.3669, allocations: 476.2 kB / 385.1 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.3682, allocations: 1.074 MB / 386.1 MB, free: 8.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3683, allocations: 0 / 386.1 MB, free: 8.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.3683, allocations: 2.609 kB / 386.1 MB, free: 8.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.3683, 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.002334/0.3706, allocations: 1.22 MB / 387.4 MB, free: 7.234 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.3707, allocations: 9.281 kB / 387.4 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.3709, allocations: 96.27 kB / 387.5 MB, free: 7.191 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008354/0.3717, allocations: 0.5106 MB / 388 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.3719, allocations: 102.5 kB / 388.1 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.952e-05/0.372, allocations: 51.48 kB / 388.1 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.3734, allocations: 0.7916 MB / 388.9 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.3734, allocations: 6.594 kB / 388.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-05/0.3735, allocations: 25.23 kB / 388.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.3735, allocations: 12.47 kB / 389 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.3748, allocations: 0.5013 MB / 389.5 MB, free: 6.016 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.00353/0.3783, allocations: 2.152 MB / 391.6 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.3797, allocations: 0.534 MB / 392.1 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006203/0.3804, allocations: 258 kB / 392.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.935e-05/0.3804, allocations: 16.02 kB / 392.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007911/0.3812, allocations: 322.1 kB / 392.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of pre-optimization done (n=56): time 2.185e-06/0.3812, allocations: 0 / 392.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=56): time 0.005122/0.3864, allocations: 1.49 MB / 394.2 MB, free: 3.609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001731/0.3866, allocations: 0.8256 MB / 395 MB, free: 2.602 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008145/0.3874, allocations: 0.591 MB / 395.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.844e-05/0.3875, allocations: 42.3 kB / 395.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/0.3877, allocations: 335.9 kB / 396 MB, free: 2.023 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.3879, allocations: 187.8 kB / 396.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.3881, allocations: 131.5 kB / 396.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3883, allocations: 379.8 kB / 396.7 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005969/0.3889, allocations: 208.6 kB / 396.9 MB, free: 1.406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008157/0.3897, allocations: 0.5246 MB / 397.4 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.3909, allocations: 0.5582 MB / 398 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3909, allocations: 1.125 kB / 398 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002298/0.3932, allocations: 0.9016 MB / 398.9 MB, free: 256 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.035e-05/0.3933, allocations: 64.14 kB / 398.9 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.3933, allocations: 5.562 kB / 398.9 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008152/0.3941, allocations: 226.2 kB / 399.2 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/0.3948, allocations: 121.2 kB / 399.3 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006973/0.4018, allocations: 4.579 MB / 403.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009176/0.4027, allocations: 89.05 kB / 403.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.886e-05/0.4028, allocations: 22.2 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.0004007/0.4032, allocations: 216.3 kB / 404.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.4033, allocations: 84.95 kB / 404.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.4035, allocations: 77.81 kB / 404.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.4035, allocations: 10.09 kB / 404.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4035, allocations: 0 / 404.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002262/0.4058, allocations: 1.052 MB / 405.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003079/0.4089, allocations: 1.535 MB / 406.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4089, allocations: 0 / 406.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006265/0.4095, allocations: 114 kB / 407 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005707/0.4101, allocations: 173.5 kB / 407.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/0.4102, allocations: 10.47 kB / 407.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005111/0.4153, allocations: 3.928 MB / 411.2 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4153, allocations: 0 / 411.2 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/0.4178, allocations: 1.024 MB / 412.2 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004339/0.4183, allocations: 216.5 kB / 412.4 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.4184, allocations: 14.59 kB / 412.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006447/0.4191, allocations: 42.61 kB / 412.4 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.4193, allocations: 54.39 kB / 412.5 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/0.4193, allocations: 18.56 kB / 412.5 MB, free: 5.621 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008005/0.4201, allocations: 421.2 kB / 412.9 MB, free: 5.375 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4201, allocations: 0 / 412.9 MB, free: 5.375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001125/0.4213, allocations: 251.5 kB / 413.2 MB, free: 5.336 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.0002763/0.4215, allocations: 121.5 kB / 413.3 MB, free: 5.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00258/0.4241, allocations: 1.023 MB / 414.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4242, allocations: 2.844 kB / 414.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009163/0.4251, allocations: 0.5516 MB / 414.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009065/0.426, allocations: 218.1 kB / 415.1 MB, free: 4.016 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.4287, allocations: 1.305 MB / 416.4 MB, free: 3.227 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/0.4292, allocations: 0.9101 MB / 417.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003679/0.4296, allocations: 85.22 kB / 417.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.4298, allocations: 58.33 kB / 417.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4298, allocations: 0 / 417.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of Templates: time 0.02533/0.4551, allocations: 16.3 MB / 433.7 MB, free: 2.75 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