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.001745/0.001745, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001884/0.001884, allocations: 180.8 kB / 23.71 MB, free: 4.695 MB / 14.72 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.475/1.475, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 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 0.001564/0.001564, allocations: 43.92 kB / 370.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2476, allocations: 52.19 MB / 423.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006415/0.254, allocations: 4.883 MB / 428 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.2566, allocations: 1.36 MB / 429.4 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003157/0.257, allocations: 11.88 kB / 429.4 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.2574, allocations: 154.7 kB / 429.5 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007073/0.2581, allocations: 353.4 kB / 429.9 MB, free: 7.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.2585, allocations: 211.7 kB / 430.1 MB, free: 7.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.2597, allocations: 1.023 MB / 431.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003499/0.26, allocations: 206.4 kB / 431.3 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005035/0.2606, allocations: 414.6 kB / 431.7 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005309/0.2611, allocations: 454.1 kB / 432.1 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.2612, allocations: 88 kB / 432.2 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.2614, allocations: 92 kB / 432.3 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.2616, allocations: 195.3 kB / 432.5 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004754/0.262, allocations: 477.8 kB / 433 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.2632, allocations: 1.081 MB / 434.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2632, allocations: 0 / 434.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2632, allocations: 0 / 434.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.2632, allocations: 0 / 434.1 MB, free: 3.684 MB / 334.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.002421/0.2656, allocations: 1.176 MB / 435.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2657, allocations: 12.03 kB / 435.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.2659, allocations: 104.3 kB / 435.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000859/0.2667, allocations: 463 kB / 435.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/0.2669, allocations: 105.3 kB / 435.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.267, allocations: 52.38 kB / 436 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.2685, allocations: 0.7888 MB / 436.7 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.2686, allocations: 3.953 kB / 436.8 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-05/0.2686, allocations: 28 kB / 436.8 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.2686, allocations: 16 kB / 436.8 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.2699, allocations: 0.5035 MB / 437.3 MB, free: 256 kB / 334.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.003737/0.2737, allocations: 2.066 MB / 439.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.275, allocations: 0.4944 MB / 439.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006078/0.2756, allocations: 226.2 kB / 440.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-05/0.2757, allocations: 16.48 kB / 440.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000776/0.2765, allocations: 322.1 kB / 440.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.144e-06/0.2765, allocations: 0 / 440.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.005221/0.2817, allocations: 1.322 MB / 441.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004865/0.2822, allocations: 0.8271 MB / 442.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007976/0.283, allocations: 0.5901 MB / 443.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-05/0.2831, allocations: 45.7 kB / 443.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.2834, allocations: 341.2 kB / 443.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.2836, allocations: 206.2 kB / 443.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/0.2838, allocations: 130.3 kB / 443.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.284, allocations: 374.8 kB / 444.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000604/0.2846, allocations: 213.2 kB / 444.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009145/0.2855, allocations: 0.5217 MB / 445 MB, free: 8.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.2868, allocations: 0.5641 MB / 445.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2868, allocations: 0 / 445.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002475/0.2893, allocations: 0.8924 MB / 446.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.863e-05/0.2894, allocations: 63.39 kB / 446.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2894, allocations: 3.938 kB / 446.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007669/0.2901, allocations: 221.5 kB / 446.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006562/0.2908, allocations: 115.8 kB / 446.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00729/0.2981, allocations: 4.399 MB / 451.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008082/0.2989, allocations: 83.62 kB / 451.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.274e-05/0.2989, allocations: 27.98 kB / 451.3 MB, free: 1.414 MB / 350.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.0003455/0.2993, allocations: 201.9 kB / 451.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.2994, allocations: 79.53 kB / 451.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.2996, allocations: 78.86 kB / 451.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.2996, allocations: 7.938 kB / 451.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2996, allocations: 4 kB / 451.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002265/0.3019, allocations: 1.049 MB / 452.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/0.3049, allocations: 1.498 MB / 454.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.3049, allocations: 3.984 kB / 454.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006445/0.3055, allocations: 111.8 kB / 454.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005819/0.3061, allocations: 169.5 kB / 454.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.986e-05/0.3061, allocations: 11.98 kB / 454.5 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00555/0.3117, allocations: 3.726 MB / 458.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3117, allocations: 4.125 kB / 458.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/0.3144, allocations: 1.026 MB / 459.3 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/0.3148, allocations: 143.3 kB / 459.4 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.3149, allocations: 20 kB / 459.4 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006622/0.3156, allocations: 44.02 kB / 459.5 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/0.3158, allocations: 64.33 kB / 459.5 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.3158, allocations: 12.19 kB / 459.5 MB, free: 8.719 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005701/0.3164, allocations: 419.1 kB / 460 MB, free: 8.312 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3164, allocations: 0 / 460 MB, free: 8.312 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008705/0.3173, allocations: 247.8 kB / 460.2 MB, free: 8.07 MB / 366.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.0002342/0.3175, allocations: 123.2 kB / 460.3 MB, free: 7.938 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002348/0.3198, allocations: 0.9785 MB / 461.3 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3199, allocations: 4 kB / 461.3 MB, free: 6.906 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.3209, allocations: 0.5278 MB / 461.8 MB, free: 6.355 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009926/0.3219, allocations: 215 kB / 462 MB, free: 6.148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/0.3249, allocations: 1.321 MB / 463.4 MB, free: 4.801 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007212/0.3256, allocations: 0.916 MB / 464.3 MB, free: 3.859 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004354/0.326, allocations: 85.22 kB / 464.4 MB, free: 3.773 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.3262, allocations: 55.42 kB / 464.4 MB, free: 3.719 MB / 366.1 MB Notification: Performance of SimCode: time 1.183e-06/0.3262, allocations: 0 / 464.4 MB, free: 3.719 MB / 366.1 MB Notification: Performance of Templates: time 0.02966/0.3558, allocations: 16.85 MB / 481.3 MB, free: 3.137 MB / 382.1 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: 5.1383004589006305]