Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.001586/0.001586, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001888/0.001888, allocations: 214.8 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.226/2.226, allocations: 230.6 MB / 258.3 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 43.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3528, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006892/0.3597, allocations: 3.978 MB / 436.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003134/0.3628, allocations: 1.188 MB / 437.5 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003764/0.3632, allocations: 11.94 kB / 437.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005058/0.3637, allocations: 130.8 kB / 437.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008995/0.3646, allocations: 269.8 kB / 437.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006367/0.3652, allocations: 203.6 kB / 438.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.3666, allocations: 0.9296 MB / 439 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004105/0.367, allocations: 177.1 kB / 439.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006777/0.3677, allocations: 370.7 kB / 439.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006778/0.3684, allocations: 410.3 kB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.3685, allocations: 76 kB / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.3688, allocations: 83.94 kB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.369, allocations: 171.4 kB / 440.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004816/0.3694, allocations: 350.5 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.3708, allocations: 0.9374 MB / 441.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3708, allocations: 0 / 441.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3708, allocations: 0 / 441.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.3708, allocations: 0 / 441.6 MB, free: 13.44 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.002727/0.3736, allocations: 1.065 MB / 442.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3736, allocations: 8.031 kB / 442.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003434/0.374, allocations: 92.42 kB / 442.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.3751, allocations: 431.2 kB / 443.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002272/0.3753, allocations: 148.4 kB / 443.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.3754, allocations: 48.38 kB / 443.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.3775, allocations: 1.161 MB / 444.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.3775, allocations: 0 / 444.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.267e-05/0.3776, allocations: 20 kB / 444.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.3776, allocations: 12 kB / 444.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.3787, allocations: 455.6 kB / 445 MB, free: 9.738 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.002916/0.3816, allocations: 1.471 MB / 446.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.3836, allocations: 0.5767 MB / 447 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005518/0.3841, allocations: 237.9 kB / 447.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/0.3842, allocations: 16.36 kB / 447.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.3842, allocations: 43 kB / 447.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.743e-06/0.3842, allocations: 0 / 447.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.006011/0.3902, allocations: 1.242 MB / 448.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003285/0.3905, allocations: 0.5643 MB / 449.1 MB, free: 5.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007805/0.3913, allocations: 0.4951 MB / 449.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.379e-05/0.3914, allocations: 41.69 kB / 449.7 MB, free: 4.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.3917, allocations: 293.7 kB / 449.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.3919, allocations: 198.3 kB / 450.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/0.3921, allocations: 110.3 kB / 450.2 MB, free: 4.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.3923, allocations: 366.8 kB / 450.6 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000703/0.393, allocations: 222.9 kB / 450.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.3943, allocations: 0.9596 MB / 451.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.3957, allocations: 495.5 kB / 452.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3957, allocations: 0 / 452.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003113/0.3988, allocations: 0.8307 MB / 453.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.804e-05/0.3989, allocations: 33.7 kB / 453.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3989, allocations: 0 / 453.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.4002, allocations: 222.4 kB / 453.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.4013, allocations: 127.8 kB / 453.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009534/0.4108, allocations: 5.197 MB / 458.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008781/0.4117, allocations: 67.75 kB / 458.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.814e-05/0.4117, allocations: 20 kB / 458.8 MB, free: 11.09 MB / 366.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.0003706/0.4121, allocations: 197.7 kB / 458.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.4122, allocations: 67.56 kB / 459 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002987/0.4152, allocations: 0.7637 MB / 459.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.4152, allocations: 8 kB / 459.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.4152, allocations: 0 / 459.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002972/0.4182, allocations: 1.037 MB / 460.8 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00409/0.4223, allocations: 1.301 MB / 462.1 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4223, allocations: 0 / 462.1 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.4234, allocations: 140 kB / 462.3 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/0.4245, allocations: 169.6 kB / 462.4 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-05/0.4245, allocations: 11.98 kB / 462.4 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007218/0.4317, allocations: 3.523 MB / 466 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4317, allocations: 0 / 466 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004644/0.4364, allocations: 1.057 MB / 467 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/0.4368, allocations: 123.4 kB / 467.1 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.4369, allocations: 19.94 kB / 467.2 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006761/0.4376, allocations: 39.95 kB / 467.2 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.4377, allocations: 52.34 kB / 467.2 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.417e-05/0.4378, allocations: 12 kB / 467.3 MB, free: 2.168 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005596/0.4383, allocations: 362.8 kB / 467.6 MB, free: 1.816 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4383, allocations: 0 / 467.6 MB, free: 1.816 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001017/0.4394, allocations: 223.8 kB / 467.8 MB, free: 1.598 MB / 366.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.0001745/0.4395, allocations: 111.2 kB / 467.9 MB, free: 1.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003539/0.4431, allocations: 1.034 MB / 469 MB, free: 400 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/0.4431, allocations: 4 kB / 469 MB, free: 396 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.4448, allocations: 0.5119 MB / 469.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.446, allocations: 174.3 kB / 469.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/0.4493, allocations: 1.296 MB / 471 MB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.4497, allocations: 289.8 kB / 471.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004064/0.4501, allocations: 80.92 kB / 471.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.4503, allocations: 55.42 kB / 471.4 MB, free: 13.91 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4503, allocations: 0 / 471.4 MB, free: 13.91 MB / 382.1 MB Notification: Performance of Templates: time 0.03714/0.4874, allocations: 15.56 MB / 486.9 MB, free: 14.67 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.444929524004692]