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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,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=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002407/0.002416, allocations: 105.5 kB / 18.4 MB, free: 4.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003086/0.003086, allocations: 187 kB / 19.33 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.346/2.346, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 51.92 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1204, allocations: 46.61 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.2469/0.3674, allocations: 5.181 MB / 381 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002399/0.3699, allocations: 1.375 MB / 382.4 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/0.3703, allocations: 13.31 kB / 382.4 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000432/0.3708, allocations: 176 kB / 382.6 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000626/0.3714, allocations: 331.6 kB / 382.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/0.3719, allocations: 237.5 kB / 383.1 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00128/0.3732, allocations: 1.234 MB / 384.3 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004924/0.3737, allocations: 344 kB / 384.7 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005923/0.3743, allocations: 476.4 kB / 385.1 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000633/0.3749, allocations: 0.5298 MB / 385.7 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.3751, allocations: 108.3 kB / 385.8 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.3753, allocations: 110.9 kB / 385.9 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.3755, allocations: 234.9 kB / 386.1 MB, free: 8.344 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004561/0.376, allocations: 0.5395 MB / 386.7 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.3773, allocations: 1.255 MB / 387.9 MB, free: 7.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3773, allocations: 0 / 387.9 MB, free: 7.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3773, allocations: 0 / 387.9 MB, free: 7.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.278e-05/0.3773, allocations: 0 / 387.9 MB, free: 7.566 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.002441/0.3798, allocations: 1.382 MB / 389.3 MB, free: 6.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3798, allocations: 10.09 kB / 389.3 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.38, allocations: 112.6 kB / 389.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009326/0.381, allocations: 0.6016 MB / 390 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.3812, allocations: 147.6 kB / 390.2 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.3813, allocations: 62.34 kB / 390.2 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.3826, allocations: 0.8939 MB / 391.1 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.3826, allocations: 0 / 391.1 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.189e-05/0.3827, allocations: 29.88 kB / 391.1 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.3827, allocations: 14.69 kB / 391.2 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.3843, allocations: 0.627 MB / 391.8 MB, free: 5.246 MB / 318.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.003429/0.3877, allocations: 2.173 MB / 394 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.3894, allocations: 1.001 MB / 395 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008199/0.3902, allocations: 417.2 kB / 395.4 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-05/0.3903, allocations: 23.05 kB / 395.4 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.3904, allocations: 49.33 kB / 395.4 MB, free: 3.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 2.766e-06/0.3904, allocations: 0 / 395.4 MB, free: 3.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.00525/0.3956, allocations: 1.832 MB / 397.3 MB, free: 2.355 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001662/0.3958, allocations: 0.8261 MB / 398.1 MB, free: 1.348 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008488/0.3967, allocations: 0.6657 MB / 398.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.476e-05/0.3968, allocations: 49.77 kB / 398.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.397, allocations: 351.6 kB / 399.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.3972, allocations: 270.2 kB / 399.4 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/0.3974, allocations: 146.1 kB / 399.6 MB, free: 468 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.488e-05/0.3975, allocations: 333.6 kB / 399.9 MB, free: 144 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000606/0.3981, allocations: 279.7 kB / 400.2 MB, free: 48 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.3991, allocations: 0.5736 MB / 400.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.4006, allocations: 0.7041 MB / 401.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.4006, allocations: 0 / 401.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002738/0.4033, allocations: 1.123 MB / 402.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.623e-05/0.4034, allocations: 85.95 kB / 402.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.4034, allocations: 0 / 402.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007216/0.4042, allocations: 236.9 kB / 402.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006922/0.4049, allocations: 151.1 kB / 403 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007938/0.4128, allocations: 6.938 MB / 410 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.414, allocations: 104.7 kB / 410.1 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.4142, allocations: 25.23 kB / 410.1 MB, free: 7.961 MB / 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.0005632/0.4147, allocations: 226.6 kB / 410.3 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/0.415, allocations: 95.34 kB / 410.4 MB, free: 7.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.4153, allocations: 103.8 kB / 410.5 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.4153, allocations: 7.594 kB / 410.5 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.119e-05/0.4154, allocations: 0 / 410.5 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002623/0.418, allocations: 1.256 MB / 411.8 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004604/0.4226, allocations: 1.987 MB / 413.8 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.4226, allocations: 5.312 kB / 413.8 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007612/0.4234, allocations: 145.8 kB / 413.9 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005661/0.424, allocations: 201.1 kB / 414.1 MB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.354e-05/0.4241, allocations: 15.38 kB / 414.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006682/0.4308, allocations: 5.344 MB / 419.5 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.4308, allocations: 5.531 kB / 419.5 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003638/0.4344, allocations: 1.435 MB / 420.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000641/0.4351, allocations: 250.9 kB / 421.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002926/0.4354, allocations: 18.59 kB / 421.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008778/0.4363, allocations: 57.23 kB / 421.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002047/0.4365, allocations: 63.25 kB / 421.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.834e-05/0.4366, allocations: 21.8 kB / 421.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008291/0.4374, allocations: 475.8 kB / 421.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4374, allocations: 0 / 421.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001269/0.4387, allocations: 285 kB / 422 MB, free: 14.72 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.0002185/0.4389, allocations: 133 kB / 422.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002522/0.4414, allocations: 1.385 MB / 423.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.4415, allocations: 4 kB / 423.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.4429, allocations: 0.777 MB / 424.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.4443, allocations: 242.8 kB / 424.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.4475, allocations: 1.691 MB / 426.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006004/0.4481, allocations: 0.952 MB / 427.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/0.4484, allocations: 71.42 kB / 427.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4484, allocations: 0 / 427.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of Templates: time 0.03033/0.4787, allocations: 23.63 MB / 450.9 MB, free: 1.777 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches