Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.001818/0.001818, allocations: 123.4 kB / 18.41 MB, free: 4.508 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.002045/0.002045, allocations: 192.3 kB / 21.35 MB, free: 1.582 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.48/1.48, allocations: 222.9 MB / 247.1 MB, free: 4.336 MB / 190.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.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 47.91 kB / 358.7 MB, free: 8.484 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09499/0.09657, allocations: 49.43 MB / 408.1 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005655/0.1023, allocations: 4.376 MB / 412.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.1045, allocations: 1.199 MB / 413.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/0.1048, allocations: 19.88 kB / 413.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004016/0.1052, allocations: 138.8 kB / 413.8 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005505/0.1058, allocations: 261.8 kB / 414.1 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.1063, allocations: 195.6 kB / 414.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009994/0.1073, allocations: 0.9181 MB / 415.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003577/0.1077, allocations: 244.5 kB / 415.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004482/0.1081, allocations: 366.6 kB / 415.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005002/0.1086, allocations: 406.3 kB / 416.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.1088, allocations: 76 kB / 416.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.1089, allocations: 76 kB / 416.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.1091, allocations: 175.3 kB / 416.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004268/0.1095, allocations: 418.1 kB / 416.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.1106, allocations: 0.9182 MB / 417.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1106, allocations: 0 / 417.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.1106, allocations: 4 kB / 417.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.1106, allocations: 0 / 417.8 MB, free: 13.22 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002104/0.1127, allocations: 1.136 MB / 419 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1128, allocations: 8.031 kB / 419 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.113, allocations: 92.42 kB / 419.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007716/0.1137, allocations: 489 kB / 419.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.1139, allocations: 96.97 kB / 419.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.901e-05/0.114, allocations: 52.27 kB / 419.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.1152, allocations: 0.6555 MB / 420.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.1152, allocations: 3.984 kB / 420.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.377e-05/0.1153, allocations: 24 kB / 420.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.1153, allocations: 12 kB / 420.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.1164, allocations: 451.6 kB / 420.8 MB, free: 10.04 MB / 350.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.00321/0.1196, allocations: 1.94 MB / 422.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/0.1216, allocations: 0.691 MB / 423.5 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005976/0.1222, allocations: 266 kB / 423.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.769e-05/0.1223, allocations: 12.38 kB / 423.7 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.1223, allocations: 39 kB / 423.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 3.887e-06/0.1224, allocations: 4.453 kB / 423.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005259/0.1276, allocations: 1.492 MB / 425.3 MB, free: 5.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003969/0.1281, allocations: 0.5605 MB / 425.8 MB, free: 4.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008402/0.1289, allocations: 0.5343 MB / 426.4 MB, free: 4.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.129, allocations: 41.7 kB / 426.4 MB, free: 4.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.1293, allocations: 289.1 kB / 426.7 MB, free: 3.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.1295, allocations: 198.3 kB / 426.9 MB, free: 3.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.1298, allocations: 118.1 kB / 427 MB, free: 3.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.13, allocations: 374.8 kB / 427.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005298/0.1305, allocations: 189 kB / 427.5 MB, free: 2.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000738/0.1312, allocations: 424.2 kB / 428 MB, free: 2.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.1324, allocations: 488.5 kB / 428.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1324, allocations: 0 / 428.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002417/0.1348, allocations: 0.8149 MB / 429.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/0.1348, allocations: 33.7 kB / 429.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1349, allocations: 0 / 429.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.1359, allocations: 222.4 kB / 429.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007263/0.1366, allocations: 127.8 kB / 429.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2187/0.3553, allocations: 5.592 MB / 435.2 MB, free: 18.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008613/0.3562, allocations: 80.45 kB / 435.3 MB, free: 18.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/0.3563, allocations: 17.02 kB / 435.3 MB, free: 18.53 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * 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: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002961/0.3566, allocations: 193 kB / 435.5 MB, free: 18.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.3567, allocations: 72.66 kB / 435.6 MB, free: 18.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002824/0.3595, allocations: 0.7806 MB / 436.4 MB, free: 18.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.3596, allocations: 5.078 kB / 436.4 MB, free: 18.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.3596, allocations: 0.6562 kB / 436.4 MB, free: 18.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002334/0.3619, allocations: 1.042 MB / 437.4 MB, free: 17.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/0.3652, allocations: 1.502 MB / 438.9 MB, free: 17.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3652, allocations: 1.375 kB / 438.9 MB, free: 17.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007771/0.366, allocations: 129.2 kB / 439 MB, free: 17.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009223/0.3669, allocations: 173 kB / 439.2 MB, free: 17.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.176e-05/0.367, allocations: 14.5 kB / 439.2 MB, free: 17.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005125/0.3721, allocations: 3.808 MB / 443 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3721, allocations: 1.594 kB / 443 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003078/0.3752, allocations: 1.065 MB / 444.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003304/0.3756, allocations: 208.7 kB / 444.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.051e-05/0.3757, allocations: 15.94 kB / 444.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005186/0.3762, allocations: 36.38 kB / 444.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.3764, allocations: 43.7 kB / 444.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.124e-05/0.3764, allocations: 20.22 kB / 444.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004784/0.3769, allocations: 382.5 kB / 444.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3769, allocations: 1.156 kB / 444.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007808/0.3777, allocations: 222.5 kB / 445 MB, free: 14.1 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001324/0.3779, allocations: 120.9 kB / 445.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002368/0.3802, allocations: 1.04 MB / 446.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.3803, allocations: 5.312 kB / 446.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.3813, allocations: 0.5341 MB / 446.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008573/0.3822, allocations: 183.2 kB / 446.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.3843, allocations: 1.325 MB / 448.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.3847, allocations: 0.8892 MB / 449.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.3848, allocations: 56.94 kB / 449.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3849, allocations: 0 / 449.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of Templates: time 0.0215/0.4064, allocations: 15.44 MB / 464.6 MB, free: 5.492 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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: 8.930474038934335]