Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.653e-05, allocations: 5.969 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006684/0.00671, allocations: 4.357 MB / 271.7 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003111/0.009822, allocations: 1.304 MB / 273 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005363/0.01036, allocations: 15.88 kB / 273 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005052/0.01086, allocations: 154.6 kB / 273.1 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009599/0.01182, allocations: 357.1 kB / 273.5 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005622/0.01239, allocations: 219.5 kB / 273.7 MB, free: 304 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001521/0.01391, allocations: 1.073 MB / 274.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004044/0.01431, allocations: 198.3 kB / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009849/0.0153, allocations: 0.6081 MB / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005309/0.01583, allocations: 327 kB / 275.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.01598, allocations: 91.98 kB / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.01615, allocations: 92 kB / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.01635, allocations: 191.3 kB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004499/0.0168, allocations: 347.2 kB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.01815, allocations: 1.114 MB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.01816, allocations: 0 / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01816, allocations: 0 / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.01817, allocations: 0 / 277.7 MB, free: 12.26 MB / 266.7 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.002471/0.02064, allocations: 1.16 MB / 278.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.02068, allocations: 12.92 kB / 278.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000285/0.02097, allocations: 144.3 kB / 279 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.02213, allocations: 478.3 kB / 279.5 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/0.02235, allocations: 152.7 kB / 279.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.02248, allocations: 72.33 kB / 279.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.02458, allocations: 1.55 MB / 281.3 MB, free: 8.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.0246, allocations: 192 / 281.3 MB, free: 8.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.541e-05/0.02469, allocations: 28.12 kB / 281.3 MB, free: 8.293 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.02471, allocations: 16 kB / 281.3 MB, free: 8.277 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.02604, allocations: 499.7 kB / 281.8 MB, free: 7.785 MB / 266.7 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.003697/0.02974, allocations: 1.695 MB / 283.5 MB, free: 6.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.03111, allocations: 498.1 kB / 284 MB, free: 5.516 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006414/0.03176, allocations: 230.2 kB / 284.2 MB, free: 5.289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.996e-05/0.03181, allocations: 12.5 kB / 284.2 MB, free: 5.277 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008215/0.03263, allocations: 322.2 kB / 284.5 MB, free: 4.949 MB / 266.7 MB Notification: Performance of pre-optimization done (n=56): time 2.766e-06/0.03263, allocations: 4 kB / 284.5 MB, free: 4.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=56): time 0.005537/0.03817, allocations: 1.333 MB / 285.9 MB, free: 3.598 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007779/0.03894, allocations: 0.8232 MB / 286.7 MB, free: 2.578 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008565/0.0398, allocations: 0.5578 MB / 287.3 MB, free: 2.008 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.633e-05/0.03989, allocations: 41.7 kB / 287.3 MB, free: 1.961 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00035/0.04024, allocations: 338.2 kB / 287.6 MB, free: 1.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/0.04047, allocations: 206.2 kB / 287.8 MB, free: 1.426 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002528/0.04072, allocations: 134.3 kB / 288 MB, free: 1.289 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000236/0.04095, allocations: 374.8 kB / 288.3 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006812/0.04164, allocations: 260.6 kB / 288.6 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.04322, allocations: 1.337 MB / 289.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.04462, allocations: 0.5603 MB / 290.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.04462, allocations: 0 / 290.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002671/0.04729, allocations: 0.9777 MB / 291.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.1e-05/0.04736, allocations: 59.41 kB / 291.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.04737, allocations: 0 / 291.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008158/0.04819, allocations: 233.4 kB / 291.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006764/0.04886, allocations: 111.9 kB / 291.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007837/0.0567, allocations: 4.3 MB / 296.1 MB, free: 8.457 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008214/0.05752, allocations: 83.62 kB / 296.2 MB, free: 8.375 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/0.05758, allocations: 23.98 kB / 296.3 MB, free: 8.352 MB / 282.7 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.00037/0.05795, allocations: 217.8 kB / 296.5 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.05813, allocations: 99.53 kB / 296.6 MB, free: 8.031 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.05829, allocations: 74.55 kB / 296.6 MB, free: 7.953 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.0583, allocations: 4 kB / 296.6 MB, free: 7.949 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.0583, allocations: 4 kB / 296.6 MB, free: 7.945 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002444/0.06074, allocations: 1.049 MB / 297.7 MB, free: 6.789 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/0.06374, allocations: 1.328 MB / 299 MB, free: 5.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.06374, allocations: 3.984 kB / 299 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006709/0.06441, allocations: 103.9 kB / 299.1 MB, free: 5.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000609/0.06502, allocations: 165.6 kB / 299.3 MB, free: 5.129 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.229e-05/0.06506, allocations: 15.98 kB / 299.3 MB, free: 5.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006114/0.07118, allocations: 3.672 MB / 303 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.07118, allocations: 3.938 kB / 303 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002833/0.07401, allocations: 1.034 MB / 304 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003949/0.07441, allocations: 139.4 kB / 304.1 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.07454, allocations: 16 kB / 304.2 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1066/0.1811, allocations: 42.97 kB / 304.2 MB, free: 46.67 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000246/0.1814, allocations: 53.31 kB / 304.3 MB, free: 46.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.108e-05/0.1814, allocations: 17.55 kB / 304.3 MB, free: 46.67 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000538/0.182, allocations: 390.7 kB / 304.7 MB, free: 46.58 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.182, allocations: 0 / 304.7 MB, free: 46.58 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009782/0.1829, allocations: 254.8 kB / 304.9 MB, free: 46.58 MB / 282.7 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.000159/0.1831, allocations: 117.3 kB / 305 MB, free: 46.49 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002092/0.1852, allocations: 1.045 MB / 306.1 MB, free: 46.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.1852, allocations: 3 kB / 306.1 MB, free: 46.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009397/0.1861, allocations: 0.5209 MB / 306.6 MB, free: 45.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009839/0.1871, allocations: 223.4 kB / 306.8 MB, free: 45.81 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.1896, allocations: 1.271 MB / 308.1 MB, free: 45.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.1899, allocations: 322.1 kB / 308.4 MB, free: 45.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004017/0.1903, allocations: 82.95 kB / 308.5 MB, free: 45.17 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.1905, allocations: 56 kB / 308.5 MB, free: 45.16 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1905, allocations: 0 / 308.5 MB, free: 45.16 MB / 282.7 MB Notification: Performance of Templates: time 0.02227/0.2128, allocations: 16.68 MB / 325.2 MB, free: 35.28 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.954277751035988]