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.001665/0.001665, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002246/0.002246, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.417/1.417, allocations: 230.6 MB / 258.3 MB, free: 8.242 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.00161/0.00161, allocations: 47.92 kB / 379 MB, free: 2.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2402, allocations: 53.37 MB / 432.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006591/0.2468, allocations: 5.245 MB / 437.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.2494, allocations: 1.374 MB / 439 MB, free: 304 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003791/0.2498, allocations: 11.94 kB / 439 MB, free: 292 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004448/0.2502, allocations: 166.5 kB / 439.2 MB, free: 124 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006964/0.2509, allocations: 357.2 kB / 439.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.2514, allocations: 243.6 kB / 439.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.2527, allocations: 1.229 MB / 441 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003827/0.2531, allocations: 236.3 kB / 441.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005111/0.2536, allocations: 490.3 kB / 441.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006796/0.2543, allocations: 0.5291 MB / 442.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.2544, allocations: 108 kB / 442.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.2546, allocations: 112 kB / 442.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.2548, allocations: 231.2 kB / 442.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005449/0.2554, allocations: 0.5444 MB / 443.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.2567, allocations: 1.264 MB / 444.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.2567, allocations: 0 / 444.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2568, allocations: 0 / 444.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.2568, allocations: 0 / 444.5 MB, free: 10.79 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.00266/0.2594, allocations: 1.339 MB / 445.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.2595, allocations: 8.031 kB / 445.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.2597, allocations: 120.3 kB / 446 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.2607, allocations: 0.539 MB / 446.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003251/0.261, allocations: 297.2 kB / 446.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-05/0.2611, allocations: 60.38 kB / 446.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.2626, allocations: 0.8908 MB / 447.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.2627, allocations: 0 / 447.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.845e-05/0.2627, allocations: 31.94 kB / 447.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.2627, allocations: 16 kB / 447.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.2642, allocations: 0.6297 MB / 448.4 MB, free: 6.633 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.003596/0.2678, allocations: 2.132 MB / 450.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.2694, allocations: 0.7214 MB / 451.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008113/0.2702, allocations: 383.2 kB / 451.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.224e-05/0.2703, allocations: 20.58 kB / 451.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.2703, allocations: 43.22 kB / 451.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.265e-06/0.2703, allocations: 0 / 451.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.004914/0.2752, allocations: 1.535 MB / 453.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000437/0.2757, allocations: 0.8272 MB / 454.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008886/0.2766, allocations: 0.6569 MB / 454.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.347e-05/0.2766, allocations: 45.7 kB / 454.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.2769, allocations: 353.4 kB / 455.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.2772, allocations: 285.4 kB / 455.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.2774, allocations: 150.7 kB / 455.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.2776, allocations: 334 kB / 455.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006728/0.2783, allocations: 277.8 kB / 456.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009902/0.2793, allocations: 0.5664 MB / 456.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.2807, allocations: 0.709 MB / 457.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2807, allocations: 0 / 457.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002687/0.2834, allocations: 1.122 MB / 458.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.432e-05/0.2835, allocations: 83.45 kB / 458.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2835, allocations: 8 kB / 458.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007005/0.2842, allocations: 243.1 kB / 458.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006487/0.2848, allocations: 139.8 kB / 459 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008241/0.2931, allocations: 6.534 MB / 465.5 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009437/0.294, allocations: 103.5 kB / 465.6 MB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/0.2941, allocations: 28 kB / 465.7 MB, free: 4.367 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.000374/0.2944, allocations: 217.7 kB / 465.9 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.2946, allocations: 95.42 kB / 466 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.2948, allocations: 100.5 kB / 466.1 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.2948, allocations: 8 kB / 466.1 MB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2948, allocations: 0 / 466.1 MB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002564/0.2974, allocations: 1.26 MB / 467.3 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003956/0.3013, allocations: 1.95 MB / 469.3 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.3013, allocations: 4 kB / 469.3 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007245/0.3021, allocations: 143.8 kB / 469.4 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005428/0.3026, allocations: 206.4 kB / 469.6 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/0.3026, allocations: 16 kB / 469.6 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006689/0.3093, allocations: 5.035 MB / 474.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3093, allocations: 3.938 kB / 474.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003385/0.3127, allocations: 1.435 MB / 476.1 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004337/0.3132, allocations: 171.3 kB / 476.3 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.3133, allocations: 20 kB / 476.3 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006332/0.3139, allocations: 56 kB / 476.4 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.3141, allocations: 64.53 kB / 476.4 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.3141, allocations: 20 kB / 476.4 MB, free: 9.016 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006107/0.3147, allocations: 491 kB / 476.9 MB, free: 8.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3147, allocations: 0 / 476.9 MB, free: 8.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008468/0.3156, allocations: 291.7 kB / 477.2 MB, free: 8.258 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.0001724/0.3158, allocations: 123.1 kB / 477.3 MB, free: 8.129 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002277/0.318, allocations: 1.344 MB / 478.7 MB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.318, allocations: 4.125 kB / 478.7 MB, free: 6.691 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.3194, allocations: 0.7534 MB / 479.4 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009906/0.3204, allocations: 234.9 kB / 479.7 MB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.3234, allocations: 1.733 MB / 481.4 MB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006058/0.324, allocations: 0.9559 MB / 482.3 MB, free: 2.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.3242, allocations: 75.42 kB / 482.4 MB, free: 2.844 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3242, allocations: 0 / 482.4 MB, free: 2.844 MB / 382.1 MB Notification: Performance of Templates: time 0.0289/0.3531, allocations: 23.58 MB / 0.4941 GB, free: 11.34 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/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: 9.11557041388005]