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.00113/0.001135, allocations: 108.4 kB / 18.34 MB, free: 4.809 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.001169/0.001169, allocations: 186.9 kB / 19.28 MB, free: 3.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, 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.001168/0.001168, allocations: 59.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08347/0.08465, allocations: 46.62 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006247/0.09095, allocations: 5.199 MB / 333.9 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.09293, allocations: 1.364 MB / 335.3 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.09319, allocations: 11.94 kB / 335.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000392/0.09359, allocations: 174.5 kB / 335.5 MB, free: 12.97 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005292/0.09413, allocations: 337.1 kB / 335.8 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.09453, allocations: 235.6 kB / 336 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.09561, allocations: 1.227 MB / 337.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004683/0.09608, allocations: 350 kB / 337.6 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004163/0.09651, allocations: 470.3 kB / 338 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005549/0.09707, allocations: 0.5291 MB / 338.6 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.09722, allocations: 108 kB / 338.7 MB, free: 9.727 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.09737, allocations: 108 kB / 338.8 MB, free: 9.621 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.09756, allocations: 239.2 kB / 339 MB, free: 9.387 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000463/0.09803, allocations: 0.5444 MB / 339.6 MB, free: 8.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009472/0.09899, allocations: 1.246 MB / 340.8 MB, free: 7.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.099, allocations: 0 / 340.8 MB, free: 7.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.09901, allocations: 0 / 340.8 MB, free: 7.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.09903, allocations: 0 / 340.8 MB, free: 7.59 MB / 286.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.002437/0.1015, allocations: 1.391 MB / 342.2 MB, free: 6.125 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1015, allocations: 8.031 kB / 342.2 MB, free: 6.117 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.1017, allocations: 119.7 kB / 342.3 MB, free: 6 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009007/0.1026, allocations: 0.5988 MB / 342.9 MB, free: 5.363 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/0.1028, allocations: 146.9 kB / 343.1 MB, free: 5.203 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-05/0.1029, allocations: 60.38 kB / 343.1 MB, free: 5.145 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.1044, allocations: 0.8823 MB / 344 MB, free: 4.16 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.1044, allocations: 7.984 kB / 344 MB, free: 4.152 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.856e-05/0.1045, allocations: 28 kB / 344 MB, free: 4.125 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.1045, allocations: 19.94 kB / 344.1 MB, free: 4.105 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.1059, allocations: 0.6219 MB / 344.7 MB, free: 3.484 MB / 286.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.003365/0.1093, allocations: 2.17 MB / 346.8 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.111, allocations: 1.01 MB / 347.9 MB, free: 136 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008383/0.1119, allocations: 419.2 kB / 348.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-05/0.112, allocations: 16.64 kB / 348.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.112, allocations: 47.22 kB / 348.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 2.395e-06/0.112, allocations: 4 kB / 348.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.004933/0.117, allocations: 1.828 MB / 350.2 MB, free: 13.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000335/0.1173, allocations: 0.8311 MB / 351 MB, free: 12.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007324/0.118, allocations: 0.6685 MB / 351.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.374e-05/0.1181, allocations: 49.64 kB / 351.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/0.1184, allocations: 345.1 kB / 352 MB, free: 11.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.1186, allocations: 264 kB / 352.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.1188, allocations: 154.9 kB / 352.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1189, allocations: 330 kB / 352.8 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006387/0.1196, allocations: 285.8 kB / 353.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008713/0.1205, allocations: 0.5585 MB / 353.6 MB, free: 9.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.1218, allocations: 0.7013 MB / 354.3 MB, free: 9.203 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1218, allocations: 0 / 354.3 MB, free: 9.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002587/0.1244, allocations: 1.126 MB / 355.4 MB, free: 8.043 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.676e-05/0.1245, allocations: 89.05 kB / 355.5 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.1245, allocations: 3.984 kB / 355.5 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006687/0.1252, allocations: 231.3 kB / 355.8 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/0.1258, allocations: 147.8 kB / 355.9 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007441/0.1333, allocations: 6.935 MB / 362.8 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008473/0.1341, allocations: 111.3 kB / 362.9 MB, free: 15.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.503e-05/0.1342, allocations: 20 kB / 363 MB, free: 15.92 MB / 318.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.0003409/0.1346, allocations: 217.7 kB / 363.2 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.1347, allocations: 98.91 kB / 363.3 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.1349, allocations: 96.52 kB / 363.4 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1349, allocations: 8 kB / 363.4 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1349, allocations: 3.938 kB / 363.4 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002402/0.1373, allocations: 1.26 MB / 364.6 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003676/0.141, allocations: 1.986 MB / 366.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.141, allocations: 0 / 366.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007261/0.1418, allocations: 147.8 kB / 366.8 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005104/0.1423, allocations: 206.4 kB / 367 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/0.1424, allocations: 12 kB / 367 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006238/0.1486, allocations: 5.345 MB / 372.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1486, allocations: 0 / 372.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003308/0.1519, allocations: 1.438 MB / 373.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.1524, allocations: 247.8 kB / 374 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.1525, allocations: 23.94 kB / 374 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006481/0.1531, allocations: 55.89 kB / 374.1 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.1533, allocations: 68.56 kB / 374.2 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.1534, allocations: 23.98 kB / 374.2 MB, free: 4.043 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005304/0.1539, allocations: 475 kB / 374.6 MB, free: 3.582 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1539, allocations: 4 kB / 374.6 MB, free: 3.578 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000817/0.1547, allocations: 287.7 kB / 374.9 MB, free: 3.297 MB / 318.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.0001775/0.1549, allocations: 123.3 kB / 375 MB, free: 3.164 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002119/0.157, allocations: 1.379 MB / 376.4 MB, free: 1.695 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1571, allocations: 4.062 kB / 376.4 MB, free: 1.691 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.1584, allocations: 0.7885 MB / 377.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009195/0.1593, allocations: 231.9 kB / 377.4 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1361/0.2954, allocations: 1.646 MB / 379.1 MB, free: 52.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/0.2959, allocations: 0.9531 MB / 380 MB, free: 52.28 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006824/0.2966, allocations: 105 kB / 380.1 MB, free: 52.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.2968, allocations: 67.64 kB / 380.2 MB, free: 52.26 MB / 318.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2968, allocations: 0 / 380.2 MB, free: 52.26 MB / 318.1 MB Notification: Performance of Templates: time 0.02615/0.323, allocations: 18.7 MB / 398.9 MB, free: 43.93 MB / 318.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 -s cvode -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