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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009395/0.0009395, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008252/0.0008252, allocations: 164.6 kB / 25.45 MB, free: 8.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.91/0.91, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 299.7 MB, free: 6.941 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.641e-05, allocations: 6.078 kB / 299.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.00556/0.005586, allocations: 4.348 MB / 304 MB, free: 2.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002605/0.008191, allocations: 1.34 MB / 305.4 MB, free: 1.211 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003764/0.008567, allocations: 11.94 kB / 305.4 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004143/0.008982, allocations: 154.6 kB / 305.5 MB, free: 1.047 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007816/0.009763, allocations: 357.1 kB / 305.9 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005345/0.0103, allocations: 223.5 kB / 306.1 MB, free: 488 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.01151, allocations: 1.069 MB / 307.2 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003643/0.01187, allocations: 198.4 kB / 307.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008327/0.0127, allocations: 0.608 MB / 308 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004655/0.01317, allocations: 327.1 kB / 308.3 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.01329, allocations: 91.98 kB / 308.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.01342, allocations: 88 kB / 308.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.01357, allocations: 199.3 kB / 308.7 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003411/0.01392, allocations: 343.2 kB / 309 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.01506, allocations: 1.122 MB / 310.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.01507, allocations: 0 / 310.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.01507, allocations: 0 / 310.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.887e-05/0.01509, allocations: 0 / 310.1 MB, free: 12.44 MB / 298.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.002094/0.01718, allocations: 1.168 MB / 311.3 MB, free: 11.22 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.01723, allocations: 15.92 kB / 311.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.01742, allocations: 100.4 kB / 311.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008303/0.01825, allocations: 466.3 kB / 311.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.01844, allocations: 152.7 kB / 312 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-05/0.01853, allocations: 52.38 kB / 312.1 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.02017, allocations: 1.55 MB / 313.6 MB, free: 8.562 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.02019, allocations: 4.125 kB / 313.6 MB, free: 8.559 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.707e-05/0.02026, allocations: 32.12 kB / 313.6 MB, free: 8.527 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.02028, allocations: 12 kB / 313.7 MB, free: 8.516 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.02134, allocations: 499.7 kB / 314.1 MB, free: 8.027 MB / 298.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.002835/0.02418, allocations: 1.691 MB / 315.8 MB, free: 6.262 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007992/0.02497, allocations: 486.2 kB / 316.3 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.02531, allocations: 234.2 kB / 316.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.02535, allocations: 8.5 kB / 316.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004573/0.02581, allocations: 335.2 kB / 316.9 MB, free: 5.195 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 2.354e-06/0.02581, allocations: 0 / 316.9 MB, free: 5.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=56): time 0.002662/0.02847, allocations: 1.318 MB / 318.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003177/0.02879, allocations: 0.8271 MB / 319 MB, free: 2.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004639/0.02925, allocations: 0.5538 MB / 319.6 MB, free: 2.277 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/0.0293, allocations: 45.7 kB / 319.6 MB, free: 2.227 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.0295, allocations: 337.1 kB / 320 MB, free: 1.891 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.02962, allocations: 198.3 kB / 320.1 MB, free: 1.695 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.02976, allocations: 130.3 kB / 320.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.02989, allocations: 378.8 kB / 320.6 MB, free: 1.184 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.03024, allocations: 260.6 kB / 320.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008208/0.03106, allocations: 1.333 MB / 322.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007014/0.03177, allocations: 0.5642 MB / 322.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.03177, allocations: 0 / 322.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001273/0.03304, allocations: 0.9465 MB / 323.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/0.03309, allocations: 59.41 kB / 323.8 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.0331, allocations: 4 kB / 323.8 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000462/0.03356, allocations: 225.5 kB / 324 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.03388, allocations: 115.9 kB / 324.1 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004166/0.03804, allocations: 4.282 MB / 328.4 MB, free: 8.781 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.03841, allocations: 79.58 kB / 328.5 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.03844, allocations: 28 kB / 328.5 MB, free: 8.676 MB / 314.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.0002345/0.03868, allocations: 217.8 kB / 328.7 MB, free: 8.453 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.728e-05/0.03876, allocations: 79.56 kB / 328.8 MB, free: 8.375 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.079e-05/0.03884, allocations: 74.56 kB / 328.9 MB, free: 8.297 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.03884, allocations: 4 kB / 328.9 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.03885, allocations: 3.984 kB / 328.9 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001159/0.04, allocations: 1.041 MB / 329.9 MB, free: 7.137 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.04156, allocations: 1.328 MB / 331.3 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.04156, allocations: 0 / 331.3 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.04186, allocations: 111.8 kB / 331.4 MB, free: 5.645 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002999/0.04216, allocations: 161.6 kB / 331.5 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.04219, allocations: 11.98 kB / 331.5 MB, free: 5.469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002852/0.04504, allocations: 3.645 MB / 335.2 MB, free: 1.621 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.04504, allocations: 7.969 kB / 335.2 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.04635, allocations: 1.026 MB / 336.2 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.04653, allocations: 139.3 kB / 336.4 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.04658, allocations: 16 kB / 336.4 MB, free: 420 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.04685, allocations: 39.95 kB / 336.4 MB, free: 380 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.04696, allocations: 52.41 kB / 336.5 MB, free: 328 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.04698, allocations: 19.98 kB / 336.5 MB, free: 308 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003118/0.0473, allocations: 386.8 kB / 336.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0473, allocations: 0 / 336.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005382/0.04783, allocations: 255.8 kB / 337.1 MB, free: 15.68 MB / 330.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.0001364/0.04797, allocations: 119.2 kB / 337.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.04922, allocations: 1.044 MB / 338.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.04922, allocations: 0 / 338.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005279/0.04975, allocations: 0.5278 MB / 338.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/0.05031, allocations: 203.5 kB / 339 MB, free: 13.69 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.05201, allocations: 1.299 MB / 340.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.05228, allocations: 315.9 kB / 340.6 MB, free: 12.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.05239, allocations: 60.48 kB / 340.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.05239, allocations: 0 / 340.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of Templates: time 0.1584/0.2108, allocations: 16.39 MB / 357 MB, free: 60.97 MB / 330.7 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.403773723170161]