Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001806/0.001806, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.002049/0.002049, allocations: 214.9 kB / 24.47 MB, free: 3.793 MB / 14.72 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 1.461/1.461, allocations: 207.7 MB / 235.3 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] 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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 70.56 kB / 347.7 MB, free: 9.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3015, allocations: 49.16 MB / 396.9 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.008456/0.31, allocations: 4.629 MB / 401.5 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003983/0.3139, allocations: 1.327 MB / 402.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007682/0.3147, allocations: 17.78 kB / 402.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006111/0.3153, allocations: 171.3 kB / 403 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.3164, allocations: 340.8 kB / 403.3 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008222/0.3172, allocations: 251.8 kB / 403.6 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001955/0.3192, allocations: 1.219 MB / 404.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005553/0.3197, allocations: 230.2 kB / 405 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009034/0.3206, allocations: 481.9 kB / 405.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009079/0.3215, allocations: 464.9 kB / 405.9 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002313/0.3218, allocations: 108 kB / 406 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003134/0.3221, allocations: 109.7 kB / 406.2 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.3223, allocations: 237.2 kB / 406.4 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006757/0.323, allocations: 468.7 kB / 406.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002284/0.3253, allocations: 1.268 MB / 408.1 MB, free: 2.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.3253, allocations: 1.375 kB / 408.1 MB, free: 2.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3253, allocations: 0 / 408.1 MB, free: 2.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.024e-05/0.3254, allocations: 0 / 408.1 MB, free: 2.77 MB / 318.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.004009/0.3294, allocations: 1.342 MB / 409.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/0.3294, allocations: 13.64 kB / 409.5 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000345/0.3298, allocations: 116.6 kB / 409.6 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.3313, allocations: 0.5405 MB / 410.1 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000289/0.3316, allocations: 305 kB / 410.4 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.3317, allocations: 64.7 kB / 410.5 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/0.3342, allocations: 1.653 MB / 412.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.3342, allocations: 0 / 412.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.3343, allocations: 29.34 kB / 412.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.3344, allocations: 18.47 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/0.3366, allocations: 0.6194 MB / 412.8 MB, free: 15.05 MB / 334.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.005338/0.3419, allocations: 1.621 MB / 414.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002433/0.3444, allocations: 0.7266 MB / 415.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.3455, allocations: 377.5 kB / 415.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.919e-05/0.3456, allocations: 20.27 kB / 415.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.364e-05/0.3457, allocations: 46.88 kB / 415.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=77): time 3.847e-06/0.3457, allocations: 0 / 415.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=77): time 0.005268/0.3509, allocations: 1.53 MB / 417.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004724/0.3514, allocations: 0.8233 MB / 417.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000911/0.3523, allocations: 0.6104 MB / 418.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001238/0.3524, allocations: 46.23 kB / 418.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/0.3528, allocations: 358.1 kB / 418.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002824/0.353, allocations: 283.7 kB / 419.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/0.3533, allocations: 144.4 kB / 419.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002403/0.3536, allocations: 392 kB / 419.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007996/0.3544, allocations: 359.2 kB / 420.1 MB, free: 9.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.356, allocations: 1.395 MB / 421.5 MB, free: 8.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.3575, allocations: 0.7009 MB / 422.2 MB, free: 7.996 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3575, allocations: 1.125 kB / 422.2 MB, free: 7.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003062/0.3606, allocations: 1.197 MB / 423.4 MB, free: 7.266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.957e-05/0.3607, allocations: 86.8 kB / 423.5 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3607, allocations: 9.094 kB / 423.5 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007933/0.3615, allocations: 228.5 kB / 423.7 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007648/0.3622, allocations: 153 kB / 423.9 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008619/0.3709, allocations: 6.379 MB / 430.2 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.3721, allocations: 104.1 kB / 430.3 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.185e-05/0.3722, allocations: 28 kB / 430.4 MB, free: 88 kB / 334.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.0005168/0.3727, allocations: 225.7 kB / 430.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.3729, allocations: 91.47 kB / 430.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.3731, allocations: 96.08 kB / 430.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.3731, allocations: 11.94 kB / 430.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.3731, allocations: 3.938 kB / 430.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002726/0.3758, allocations: 1.253 MB / 432 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004546/0.3804, allocations: 1.717 MB / 433.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3804, allocations: 0 / 433.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007876/0.3812, allocations: 155.8 kB / 433.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006029/0.3818, allocations: 190.4 kB / 434.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.326e-05/0.3819, allocations: 16 kB / 434.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007443/0.3893, allocations: 4.944 MB / 439.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3893, allocations: 0 / 439.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003958/0.3933, allocations: 1.431 MB / 440.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006216/0.3939, allocations: 179.2 kB / 440.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/0.3941, allocations: 19.94 kB / 440.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007735/0.3949, allocations: 51.95 kB / 440.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.3951, allocations: 64.53 kB / 440.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.188e-05/0.3952, allocations: 23.98 kB / 440.8 MB, free: 5.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007224/0.3959, allocations: 443.1 kB / 441.2 MB, free: 4.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3959, allocations: 0 / 441.2 MB, free: 4.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001208/0.3971, allocations: 295.7 kB / 441.5 MB, free: 4.398 MB / 350.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.000229/0.3973, allocations: 123.1 kB / 441.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002843/0.4002, allocations: 1.419 MB / 443.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.4002, allocations: 0 / 443.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001535/0.4017, allocations: 0.7574 MB / 443.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.4029, allocations: 235 kB / 444.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003654/0.4065, allocations: 1.671 MB / 445.7 MB, free: 12 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.407, allocations: 358.7 kB / 446.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005177/0.4075, allocations: 98.3 kB / 446.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.4078, allocations: 71.42 kB / 446.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of SimCode: time 1.492e-06/0.4078, allocations: 0 / 446.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of Templates: time 0.038/0.4458, allocations: 20.48 MB / 466.7 MB, free: 10.93 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.633753556758165]