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.001167/0.001168, allocations: 112.7 kB / 17.73 MB, free: 5.355 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.001167/0.001167, allocations: 179.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.51/1.51, 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.001236/0.001237, allocations: 55.91 kB / 328.5 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1045, 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.2159/0.3205, allocations: 4.832 MB / 380 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00285/0.3234, allocations: 1.404 MB / 381.4 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003094/0.3237, allocations: 7.375 kB / 381.4 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004177/0.3242, allocations: 156 kB / 381.5 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007169/0.3249, allocations: 335.4 kB / 381.9 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.3254, allocations: 217.3 kB / 382.1 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.3267, allocations: 1.031 MB / 383.1 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005256/0.3273, allocations: 297.1 kB / 383.4 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006108/0.3279, allocations: 409.8 kB / 383.8 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006607/0.3285, allocations: 451.8 kB / 384.2 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001832/0.3287, allocations: 87.38 kB / 384.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.329, allocations: 90.06 kB / 384.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.3292, allocations: 199.7 kB / 384.6 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005103/0.3297, allocations: 472.5 kB / 385.1 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.3313, allocations: 1.077 MB / 386.1 MB, free: 8.086 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.3313, allocations: 5.094 kB / 386.1 MB, free: 8.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3314, allocations: 0 / 386.1 MB, free: 8.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.3314, allocations: 0 / 386.1 MB, free: 8.082 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.002655/0.334, allocations: 1.245 MB / 387.4 MB, free: 7.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.3341, allocations: 9.625 kB / 387.4 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.3343, allocations: 101 kB / 387.5 MB, free: 7.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008789/0.3352, allocations: 0.5191 MB / 388 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.3353, allocations: 102.9 kB / 388.1 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.093e-05/0.3354, allocations: 51.2 kB / 388.2 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.3368, allocations: 0.7887 MB / 388.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.3368, allocations: 3.938 kB / 389 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.206e-05/0.3369, allocations: 28.53 kB / 389 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.3369, allocations: 16.67 kB / 389 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.3383, allocations: 0.4967 MB / 389.5 MB, free: 5.969 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.003464/0.3418, allocations: 2.156 MB / 391.6 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.3431, allocations: 0.5315 MB / 392.2 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006039/0.3437, allocations: 256.4 kB / 392.4 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-05/0.3438, allocations: 16.58 kB / 392.4 MB, free: 4.277 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007637/0.3445, allocations: 330.7 kB / 392.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=56): time 2.815e-06/0.3446, allocations: 0 / 392.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=56): time 0.004987/0.3495, allocations: 1.497 MB / 394.3 MB, free: 3.555 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001674/0.3497, allocations: 0.8217 MB / 395.1 MB, free: 2.551 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008255/0.3506, allocations: 0.5922 MB / 395.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.228e-05/0.3506, allocations: 44.73 kB / 395.7 MB, free: 2.234 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.3509, allocations: 338.8 kB / 396.1 MB, free: 1.965 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.351, allocations: 201.4 kB / 396.3 MB, free: 1.809 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.3512, allocations: 128.6 kB / 396.4 MB, free: 1.746 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3514, allocations: 380.2 kB / 396.7 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005482/0.3519, allocations: 206.7 kB / 397 MB, free: 1.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007345/0.3527, allocations: 0.5208 MB / 397.5 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.3538, allocations: 0.564 MB / 398 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3538, allocations: 0 / 398 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0021/0.3559, allocations: 0.9015 MB / 398.9 MB, free: 184 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/0.3559, allocations: 67.78 kB / 399 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3559, allocations: 3.781 kB / 399 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006766/0.3566, allocations: 221.8 kB / 399.2 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000637/0.3573, allocations: 111.2 kB / 399.3 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00677/0.364, allocations: 4.588 MB / 403.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.3652, allocations: 94.36 kB / 404 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.968e-05/0.3653, allocations: 21.97 kB / 404 MB, free: 12.3 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.0004527/0.3657, allocations: 213.8 kB / 404.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.3659, allocations: 84.44 kB / 404.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.3661, allocations: 77.27 kB / 404.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.3661, allocations: 10.34 kB / 404.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.3661, allocations: 5.906 kB / 404.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002151/0.3682, allocations: 1.043 MB / 405.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/0.3712, allocations: 1.548 MB / 407 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.3712, allocations: 0 / 407 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005889/0.3718, allocations: 113.1 kB / 407.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005403/0.3724, allocations: 171 kB / 407.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.3724, allocations: 15.42 kB / 407.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005222/0.3777, allocations: 3.932 MB / 411.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3777, allocations: 5.625 kB / 411.2 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/0.3807, allocations: 1.027 MB / 412.3 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006347/0.3814, allocations: 225.7 kB / 412.5 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/0.3816, allocations: 14.84 kB / 412.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008/0.3824, allocations: 41.77 kB / 412.5 MB, free: 5.566 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.3827, allocations: 58.77 kB / 412.6 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.3827, allocations: 18.2 kB / 412.6 MB, free: 5.523 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000754/0.3835, allocations: 417.5 kB / 413 MB, free: 5.281 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3835, allocations: 0 / 413 MB, free: 5.281 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001258/0.3847, allocations: 252.3 kB / 413.3 MB, free: 5.242 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.0002085/0.385, allocations: 120.9 kB / 413.4 MB, free: 5.137 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002609/0.3876, allocations: 1.024 MB / 414.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/0.3876, allocations: 1.75 kB / 414.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.3888, allocations: 0.5489 MB / 415 MB, free: 4.039 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.3902, allocations: 221.4 kB / 415.2 MB, free: 3.922 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/0.3937, allocations: 1.32 MB / 416.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008772/0.3946, allocations: 0.9096 MB / 417.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006096/0.3952, allocations: 85.22 kB / 417.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.3954, allocations: 58.05 kB / 417.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3954, allocations: 0 / 417.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of Templates: time 0.03145/0.4269, allocations: 16.31 MB / 433.9 MB, free: 2.637 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