Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001599/0.001599, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001838/0.001838, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 241.8 MB, free: 15.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 46.89 kB / 300.6 MB, free: 6.309 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1014, allocations: 49.46 MB / 350.1 MB, free: 4.844 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.007653/0.1091, allocations: 5.206 MB / 355.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00318/0.1123, allocations: 1.324 MB / 356.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007604/0.1131, allocations: 8 kB / 356.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006446/0.1138, allocations: 135.1 kB / 356.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.1149, allocations: 297.7 kB / 357 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006348/0.1156, allocations: 207.8 kB / 357.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001471/0.1171, allocations: 1.172 MB / 358.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004549/0.1175, allocations: 311.1 kB / 358.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005878/0.1181, allocations: 438.3 kB / 359.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004522/0.1186, allocations: 0.5017 MB / 359.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.1187, allocations: 76 kB / 359.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.1189, allocations: 80 kB / 359.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.119, allocations: 199.2 kB / 360 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004217/0.1195, allocations: 0.5132 MB / 360.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006821/0.1202, allocations: 0.9352 MB / 361.4 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1202, allocations: 3.938 kB / 361.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1202, allocations: 0 / 361.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.1202, allocations: 0 / 361.4 MB, free: 9.402 MB / 302.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.002378/0.1226, allocations: 1.387 MB / 362.8 MB, free: 7.945 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1226, allocations: 8.031 kB / 362.8 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.1228, allocations: 123.7 kB / 362.9 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000859/0.1237, allocations: 0.591 MB / 363.5 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003001/0.124, allocations: 174.9 kB / 363.7 MB, free: 6.992 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.7e-05/0.1241, allocations: 60.38 kB / 363.8 MB, free: 6.934 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.1256, allocations: 0.9057 MB / 364.7 MB, free: 5.926 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1256, allocations: 0 / 364.7 MB, free: 5.926 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.1257, allocations: 31.98 kB / 364.7 MB, free: 5.895 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.1257, allocations: 20 kB / 364.7 MB, free: 5.875 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.1272, allocations: 0.6453 MB / 365.4 MB, free: 5.227 MB / 302.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.003224/0.1304, allocations: 2.178 MB / 367.5 MB, free: 2.938 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.1321, allocations: 1.021 MB / 368.6 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008378/0.133, allocations: 431.2 kB / 369 MB, free: 1.438 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.812e-05/0.1331, allocations: 20.64 kB / 369 MB, free: 1.414 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.1331, allocations: 47.22 kB / 369 MB, free: 1.359 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 3.006e-06/0.1331, allocations: 0 / 369 MB, free: 1.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.1793/0.3124, allocations: 1.868 MB / 370.9 MB, free: 26.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000268/0.3127, allocations: 0.8298 MB / 371.7 MB, free: 25.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/0.3146, allocations: 0.6671 MB / 372.4 MB, free: 24.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000195/0.3148, allocations: 45.08 kB / 372.5 MB, free: 24.94 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004207/0.3153, allocations: 348.3 kB / 372.8 MB, free: 24.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003754/0.3157, allocations: 265.3 kB / 373.1 MB, free: 24.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005028/0.3162, allocations: 157.1 kB / 373.2 MB, free: 24.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.481e-05/0.3163, allocations: 333.2 kB / 373.5 MB, free: 24.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.3178, allocations: 294.4 kB / 373.8 MB, free: 24.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/0.3196, allocations: 0.5778 MB / 374.4 MB, free: 23.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002925/0.3225, allocations: 0.7303 MB / 375.1 MB, free: 23.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.3225, allocations: 0 / 375.1 MB, free: 23.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.005381/0.3279, allocations: 1.149 MB / 376.3 MB, free: 22.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.84e-05/0.328, allocations: 84.48 kB / 376.4 MB, free: 22.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.328, allocations: 1.5 kB / 376.4 MB, free: 22.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.3293, allocations: 235.1 kB / 376.6 MB, free: 22.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.3307, allocations: 152.3 kB / 376.7 MB, free: 22.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/0.342, allocations: 6.372 MB / 383.1 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.3438, allocations: 118 kB / 383.2 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.344, allocations: 22.14 kB / 383.3 MB, free: 16.84 MB / 302.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.0006478/0.3447, allocations: 227.7 kB / 383.5 MB, free: 16.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003395/0.345, allocations: 91.22 kB / 383.6 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.3453, allocations: 98.09 kB / 383.7 MB, free: 16.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.3453, allocations: 8.531 kB / 383.7 MB, free: 16.53 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/0.3454, allocations: 0 / 383.7 MB, free: 16.53 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004822/0.3502, allocations: 1.289 MB / 385 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007861/0.3581, allocations: 2.013 MB / 387 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.3581, allocations: 2.141 kB / 387 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/0.3596, allocations: 156.7 kB / 387.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009845/0.3606, allocations: 194 kB / 387.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.902e-05/0.3607, allocations: 22.2 kB / 387.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009769/0.3705, allocations: 4.911 MB / 392.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3705, allocations: 1.094 kB / 392.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006618/0.3772, allocations: 1.483 MB / 393.7 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007351/0.3779, allocations: 244.4 kB / 394 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003051/0.3783, allocations: 20.03 kB / 394 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/0.3797, allocations: 70.39 kB / 394.1 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003026/0.3801, allocations: 68.09 kB / 394.1 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.223e-05/0.3802, allocations: 19.44 kB / 394.1 MB, free: 9.453 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00102/0.3812, allocations: 478.8 kB / 394.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3812, allocations: 0 / 394.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001306/0.3825, allocations: 292.7 kB / 394.9 MB, free: 9.199 MB / 302.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.0001855/0.3827, allocations: 121.7 kB / 395 MB, free: 9.094 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002396/0.3851, allocations: 1.394 MB / 396.4 MB, free: 8.133 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.3851, allocations: 3.938 kB / 396.4 MB, free: 8.133 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001351/0.3865, allocations: 0.7918 MB / 397.2 MB, free: 7.562 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.3876, allocations: 230.6 kB / 397.4 MB, free: 7.445 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/0.3905, allocations: 1.99 MB / 399.4 MB, free: 6.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.3909, allocations: 0.9477 MB / 400.4 MB, free: 5.266 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.3911, allocations: 69.17 kB / 400.4 MB, free: 5.254 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3912, allocations: 1.375 kB / 400.4 MB, free: 5.254 MB / 302.1 MB Notification: Performance of Templates: time 0.02746/0.4186, allocations: 23.43 MB / 423.9 MB, free: 15.34 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches