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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 105.7 kB / 20.32 MB, free: 1.75 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 194.9 kB / 23.47 MB, free: 5.469 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 207.6 MB / 234.1 MB, free: 11.16 MB / 190.1 MB [Timeout remaining time 88] 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=2000,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=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] 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.001704/0.001704, allocations: 47.92 kB / 345.8 MB, free: 10.64 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3056, allocations: 49.11 MB / 394.9 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.00599/0.3116, allocations: 4.843 MB / 399.8 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002816/0.3145, allocations: 1.419 MB / 401.2 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003662/0.3148, allocations: 6.938 kB / 401.2 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004454/0.3153, allocations: 158.3 kB / 401.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007162/0.316, allocations: 344.4 kB / 401.7 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005394/0.3165, allocations: 222.7 kB / 401.9 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.3176, allocations: 1.025 MB / 402.9 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003236/0.3179, allocations: 205.7 kB / 403.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005554/0.3185, allocations: 407 kB / 403.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005175/0.319, allocations: 450.3 kB / 404 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.3192, allocations: 87.75 kB / 404 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.3193, allocations: 89.16 kB / 404.1 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.3195, allocations: 199.7 kB / 404.3 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004326/0.3199, allocations: 478 kB / 404.8 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.3213, allocations: 1.079 MB / 405.9 MB, free: 2.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.3213, allocations: 1.438 kB / 405.9 MB, free: 2.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3213, allocations: 0 / 405.9 MB, free: 2.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.3213, allocations: 0 / 405.9 MB, free: 2.586 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.002393/0.3237, allocations: 1.246 MB / 407.1 MB, free: 1.699 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.3238, allocations: 10 kB / 407.1 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.324, allocations: 100.3 kB / 407.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008326/0.3248, allocations: 0.5175 MB / 407.7 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.3249, allocations: 108.1 kB / 407.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.787e-05/0.325, allocations: 50.91 kB / 407.9 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.3264, allocations: 0.7952 MB / 408.7 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.3264, allocations: 1.375 kB / 408.7 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.627e-05/0.3265, allocations: 28.91 kB / 408.7 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.3265, allocations: 12.38 kB / 408.7 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.3277, allocations: 0.4961 MB / 409.2 MB, free: 468 kB / 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.003615/0.3313, allocations: 2.159 MB / 411.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.3326, allocations: 496 kB / 411.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005842/0.3332, allocations: 235.6 kB / 412.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.247e-05/0.3333, allocations: 15.98 kB / 412.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007689/0.334, allocations: 323.7 kB / 412.4 MB, free: 14.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=56): time 2.575e-06/0.334, allocations: 0 / 412.4 MB, free: 14.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.005138/0.3392, allocations: 1.487 MB / 413.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005537/0.3397, allocations: 0.8236 MB / 414.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009367/0.3407, allocations: 0.5901 MB / 415.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.079e-05/0.3408, allocations: 40.73 kB / 415.4 MB, free: 11.9 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/0.3411, allocations: 344.1 kB / 415.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.3413, allocations: 196.8 kB / 415.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002362/0.3416, allocations: 133.4 kB / 416 MB, free: 11.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.3418, allocations: 378.3 kB / 416.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006106/0.3424, allocations: 210.9 kB / 416.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009379/0.3433, allocations: 0.5148 MB / 417.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.3446, allocations: 0.5664 MB / 417.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3446, allocations: 0 / 417.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002413/0.347, allocations: 0.8939 MB / 418.6 MB, free: 9.531 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.677e-05/0.347, allocations: 67.17 kB / 418.7 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.347, allocations: 2.25 kB / 418.7 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007663/0.3478, allocations: 218.8 kB / 418.9 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/0.3484, allocations: 119.7 kB / 419 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007139/0.3556, allocations: 4.589 MB / 423.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.3566, allocations: 94.19 kB / 423.7 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/0.3567, allocations: 19.62 kB / 423.7 MB, free: 5.262 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.0004447/0.3571, allocations: 218.9 kB / 423.9 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.3573, allocations: 82 kB / 424 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.3574, allocations: 83.19 kB / 424.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.3574, allocations: 6.766 kB / 424.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3574, allocations: 3.938 kB / 424.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002236/0.3597, allocations: 1.041 MB / 425.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003377/0.363, allocations: 1.538 MB / 426.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.363, allocations: 0 / 426.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006353/0.3637, allocations: 112 kB / 426.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000569/0.3643, allocations: 169.6 kB / 426.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.146e-05/0.3643, allocations: 19.92 kB / 426.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005328/0.3696, allocations: 3.937 MB / 430.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3696, allocations: 4.031 kB / 430.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/0.3722, allocations: 1.02 MB / 431.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004682/0.3726, allocations: 224.3 kB / 432.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.3727, allocations: 20 kB / 432.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005899/0.3733, allocations: 39.95 kB / 432.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.3735, allocations: 52.5 kB / 432.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-05/0.3736, allocations: 11.98 kB / 432.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005798/0.3741, allocations: 423.1 kB / 432.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3741, allocations: 0 / 432.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009285/0.3751, allocations: 251.8 kB / 432.9 MB, free: 12.27 MB / 350.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.0001859/0.3752, allocations: 127.1 kB / 433 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002225/0.3775, allocations: 0.9837 MB / 434 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.3775, allocations: 4.109 kB / 434 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.3785, allocations: 0.5281 MB / 434.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009836/0.3795, allocations: 219 kB / 434.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.3825, allocations: 1.343 MB / 436.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005992/0.3831, allocations: 0.92 MB / 437 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.3833, allocations: 63.36 kB / 437.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3833, allocations: 0 / 437.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of Templates: time 0.02427/0.4076, allocations: 16.25 MB / 453.3 MB, free: 7.664 MB / 366.1 MB [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches