Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.002079/0.002079, allocations: 123 kB / 17.79 MB, free: 5.246 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.002483/0.002483, allocations: 207.2 kB / 20.75 MB, free: 2.297 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 1.654/1.654, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 47.92 kB / 373.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0977/0.09925, allocations: 53.35 MB / 426.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.1914/0.2906, allocations: 5.218 MB / 432 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002621/0.2932, allocations: 1.368 MB / 433.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000562/0.2938, allocations: 17.06 kB / 433.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004441/0.2942, allocations: 165.4 kB / 433.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006751/0.2949, allocations: 340.9 kB / 433.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.2954, allocations: 245.5 kB / 434.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001097/0.2965, allocations: 1.222 MB / 435.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003498/0.2968, allocations: 249.1 kB / 435.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005055/0.2974, allocations: 482.4 kB / 436.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006207/0.298, allocations: 0.5282 MB / 436.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001604/0.2981, allocations: 109.2 kB / 436.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.2983, allocations: 114.2 kB / 436.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.2985, allocations: 237 kB / 437.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004971/0.299, allocations: 0.5381 MB / 437.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.3005, allocations: 1.258 MB / 438.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3005, allocations: 1.281 kB / 438.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3005, allocations: 0 / 438.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.3005, allocations: 1.031 kB / 438.9 MB, free: 6.16 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002556/0.3031, allocations: 1.42 MB / 440.3 MB, free: 5.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3031, allocations: 9 kB / 440.3 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.3033, allocations: 122.3 kB / 440.4 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009927/0.3043, allocations: 0.5985 MB / 441 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/0.3045, allocations: 143.3 kB / 441.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.3046, allocations: 61.94 kB / 441.2 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.3061, allocations: 0.8906 MB / 442.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.3061, allocations: 1.062 kB / 442.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-05/0.3062, allocations: 28.75 kB / 442.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.3062, allocations: 14.12 kB / 442.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.3079, allocations: 0.6252 MB / 442.8 MB, free: 3.805 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.003483/0.3114, allocations: 2.177 MB / 444.9 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.313, allocations: 0.9561 MB / 445.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009123/0.3139, allocations: 372.2 kB / 446.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.35e-05/0.314, allocations: 20.41 kB / 446.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.314, allocations: 46.28 kB / 446.3 MB, free: 1.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.294e-06/0.314, allocations: 0 / 446.3 MB, free: 1.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005964/0.32, allocations: 1.832 MB / 448.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001877/0.3202, allocations: 0.8266 MB / 449 MB, free: 15.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.3212, allocations: 0.6656 MB / 449.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001548/0.3214, allocations: 45.42 kB / 449.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/0.3217, allocations: 353.9 kB / 450 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002873/0.322, allocations: 281.8 kB / 450.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002983/0.3223, allocations: 146.5 kB / 450.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.3225, allocations: 332.8 kB / 450.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000777/0.3233, allocations: 285.9 kB / 451.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.3243, allocations: 0.5603 MB / 451.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.3259, allocations: 0.702 MB / 452.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3259, allocations: 0 / 452.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003049/0.329, allocations: 1.129 MB / 453.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.348e-05/0.3291, allocations: 84.92 kB / 453.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3291, allocations: 1.141 kB / 453.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007805/0.3299, allocations: 231.4 kB / 453.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007431/0.3306, allocations: 147.2 kB / 453.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009353/0.34, allocations: 6.939 MB / 460.8 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.3411, allocations: 104.5 kB / 460.9 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/0.3411, allocations: 27.55 kB / 461 MB, free: 6.832 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004254/0.3416, allocations: 222.3 kB / 461.2 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.3417, allocations: 105.1 kB / 461.3 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.342, allocations: 97.31 kB / 461.4 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.342, allocations: 7 kB / 461.4 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.342, allocations: 1.062 kB / 461.4 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002941/0.3449, allocations: 1.259 MB / 462.7 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004475/0.3494, allocations: 1.987 MB / 464.6 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.3494, allocations: 3.984 kB / 464.6 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007978/0.3502, allocations: 146.8 kB / 464.8 MB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006715/0.3509, allocations: 196.1 kB / 465 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.776e-05/0.3509, allocations: 16.55 kB / 465 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007852/0.3588, allocations: 5.352 MB / 470.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3588, allocations: 1.219 kB / 470.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004151/0.3629, allocations: 1.439 MB / 471.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007708/0.3637, allocations: 254.9 kB / 472 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.3638, allocations: 19.53 kB / 472.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007381/0.3646, allocations: 56.14 kB / 472.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/0.3648, allocations: 63.78 kB / 472.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.663e-05/0.3648, allocations: 20.78 kB / 472.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006699/0.3655, allocations: 480.6 kB / 472.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3655, allocations: 1.469 kB / 472.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001036/0.3665, allocations: 287.8 kB / 472.9 MB, free: 13.66 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * 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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002352/0.3668, allocations: 133.2 kB / 473.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002752/0.3695, allocations: 1.333 MB / 474.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3695, allocations: 2.188 kB / 474.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001649/0.3712, allocations: 0.7597 MB / 475.2 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.3723, allocations: 235.4 kB / 475.4 MB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/0.3754, allocations: 1.679 MB / 477.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000657/0.376, allocations: 0.9555 MB / 478 MB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004411/0.3765, allocations: 111.3 kB / 478.1 MB, free: 9.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.3767, allocations: 62.78 kB / 478.2 MB, free: 9.941 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3767, allocations: 0 / 478.2 MB, free: 9.941 MB / 382.1 MB Notification: Performance of Templates: time 0.03299/0.4097, allocations: 19.06 MB / 497.3 MB, free: 7.992 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.621874999254942]