Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 113.3 kB / 18.4 MB, free: 4.688 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.001217/0.001218, allocations: 189.2 kB / 19.33 MB, free: 3.77 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.429/1.429, allocations: 205.1 MB / 225.2 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.00201/0.00201, allocations: 51.94 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1273, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005425/0.1328, allocations: 4.362 MB / 380.2 MB, free: 204 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1918/0.3247, allocations: 1.246 MB / 381.4 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003653/0.3251, allocations: 8.906 kB / 381.4 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004016/0.3255, allocations: 140.7 kB / 381.6 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005863/0.3261, allocations: 264.4 kB / 381.8 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/0.3266, allocations: 193.5 kB / 382 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009592/0.3276, allocations: 0.9268 MB / 382.9 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004106/0.328, allocations: 253.8 kB / 383.2 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006269/0.3286, allocations: 361.2 kB / 383.5 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005568/0.3292, allocations: 411.7 kB / 383.9 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.3293, allocations: 76.28 kB / 384 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.3295, allocations: 81.03 kB / 384.1 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.3297, allocations: 169.7 kB / 384.3 MB, free: 9.062 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000348/0.33, allocations: 416.3 kB / 384.7 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009606/0.331, allocations: 0.9192 MB / 385.6 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.331, allocations: 0 / 385.6 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.331, allocations: 0 / 385.6 MB, free: 8.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.331, allocations: 0 / 385.6 MB, free: 8.523 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.00192/0.333, allocations: 1.113 MB / 386.7 MB, free: 7.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.333, allocations: 13.12 kB / 386.7 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.3332, allocations: 85.84 kB / 386.8 MB, free: 7.684 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007053/0.3339, allocations: 479.9 kB / 387.3 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.334, allocations: 96.34 kB / 387.4 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.417e-05/0.3341, allocations: 47.83 kB / 387.4 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.3353, allocations: 0.655 MB / 388.1 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.3353, allocations: 6.484 kB / 388.1 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.443e-05/0.3354, allocations: 22.84 kB / 388.1 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.3354, allocations: 10.81 kB / 388.1 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.3365, allocations: 453.2 kB / 388.5 MB, free: 6.672 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.002972/0.3394, allocations: 1.947 MB / 390.5 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.3413, allocations: 0.6904 MB / 391.2 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000581/0.3419, allocations: 258.5 kB / 391.4 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.105e-05/0.3419, allocations: 17.12 kB / 391.4 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.342, allocations: 43.94 kB / 391.5 MB, free: 4.977 MB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 2.054e-06/0.342, allocations: 1.094 kB / 391.5 MB, free: 4.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=54): time 0.00492/0.3469, allocations: 1.476 MB / 393 MB, free: 4.336 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.347, allocations: 0.5715 MB / 393.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006683/0.3477, allocations: 0.5347 MB / 394.1 MB, free: 3.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-05/0.3478, allocations: 41.58 kB / 394.1 MB, free: 3.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.348, allocations: 287.5 kB / 394.4 MB, free: 3.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.3481, allocations: 184 kB / 394.6 MB, free: 2.973 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.3483, allocations: 113.7 kB / 394.7 MB, free: 2.914 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3484, allocations: 376.5 kB / 395.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005557/0.349, allocations: 195.3 kB / 395.2 MB, free: 2.508 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007205/0.3497, allocations: 422.9 kB / 395.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.3507, allocations: 488.5 kB / 396.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3508, allocations: 0 / 396.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002339/0.3531, allocations: 0.8091 MB / 396.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.3532, allocations: 32.09 kB / 397 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3532, allocations: 1.062 kB / 397 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.3542, allocations: 229.7 kB / 397.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007175/0.3549, allocations: 126.7 kB / 397.3 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008253/0.3632, allocations: 5.604 MB / 402.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000921/0.3641, allocations: 77.17 kB / 403 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.3642, allocations: 21.75 kB / 403 MB, free: 12.57 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * 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: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003957/0.3646, allocations: 197.4 kB / 403.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.3648, allocations: 74.84 kB / 403.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.3671, allocations: 0.7703 MB / 404.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.3672, allocations: 7.438 kB / 404.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/0.3672, allocations: 0 / 404.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002302/0.3695, allocations: 1.044 MB / 405.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/0.373, allocations: 1.497 MB / 406.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.373, allocations: 5.781 kB / 406.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000753/0.3738, allocations: 129.5 kB / 406.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00085/0.3746, allocations: 176.2 kB / 406.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.434e-05/0.3747, allocations: 21.48 kB / 406.9 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005944/0.3806, allocations: 3.796 MB / 410.7 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3807, allocations: 0 / 410.7 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002993/0.3837, allocations: 1.071 MB / 411.8 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004228/0.3841, allocations: 203 kB / 412 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.3842, allocations: 12.16 kB / 412 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005323/0.3848, allocations: 38.38 kB / 412.1 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.3849, allocations: 43.12 kB / 412.1 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/0.385, allocations: 17.55 kB / 412.1 MB, free: 5.883 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005361/0.3855, allocations: 389.6 kB / 412.5 MB, free: 5.656 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3855, allocations: 0 / 412.5 MB, free: 5.656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009183/0.3864, allocations: 218.4 kB / 412.7 MB, free: 5.625 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001866/0.3866, allocations: 118 kB / 412.8 MB, free: 5.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002813/0.3895, allocations: 1.035 MB / 413.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.3895, allocations: 1.188 kB / 413.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.3907, allocations: 0.5327 MB / 414.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009745/0.3917, allocations: 189 kB / 414.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.3942, allocations: 1.314 MB / 415.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/0.3947, allocations: 0.8855 MB / 416.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.3949, allocations: 57.7 kB / 416.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3949, allocations: 1.156 kB / 416.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of Templates: time 0.01972/0.4146, allocations: 15.44 MB / 432.3 MB, free: 4.555 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches