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.0009227/0.0009225, allocations: 96.16 kB / 16.95 MB, free: 6.113 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.001043/0.001043, allocations: 176.2 kB / 17.84 MB, free: 5.73 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.591/1.591, allocations: 205.4 MB / 224 MB, free: 13.07 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.0004761/0.0004763, allocations: 8 kB / 280.8 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09015/0.09064, allocations: 47.58 MB / 328.3 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004968/0.09566, allocations: 4.537 MB / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002549/0.09824, allocations: 1.259 MB / 334.1 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003611/0.09864, allocations: 8 kB / 334.1 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.09896, allocations: 115.1 kB / 334.3 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005814/0.09955, allocations: 285.7 kB / 334.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.09993, allocations: 179.8 kB / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.1011, allocations: 1.082 MB / 335.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004494/0.1015, allocations: 300.4 kB / 336.1 MB, free: 12.28 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004925/0.102, allocations: 406.5 kB / 336.5 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005482/0.1026, allocations: 474.1 kB / 337 MB, free: 11.42 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.1027, allocations: 68 kB / 337 MB, free: 11.35 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.1029, allocations: 68 kB / 337.1 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.103, allocations: 191.2 kB / 337.3 MB, free: 11.1 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.1032, allocations: 205.3 kB / 337.5 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008632/0.1041, allocations: 0.9115 MB / 338.4 MB, free: 9.977 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.1041, allocations: 0 / 338.4 MB, free: 9.977 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.1041, allocations: 4 kB / 338.4 MB, free: 9.973 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.1042, allocations: 0 / 338.4 MB, free: 9.973 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.002219/0.1064, allocations: 1.251 MB / 339.6 MB, free: 8.652 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1064, allocations: 8.031 kB / 339.6 MB, free: 8.645 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.1066, allocations: 114.8 kB / 339.8 MB, free: 8.531 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009081/0.1075, allocations: 0.5786 MB / 340.3 MB, free: 7.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000288/0.1078, allocations: 178.4 kB / 340.5 MB, free: 7.715 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.249e-05/0.1079, allocations: 60 kB / 340.6 MB, free: 7.656 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.1095, allocations: 0.9056 MB / 341.5 MB, free: 6.648 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.1095, allocations: 3.938 kB / 341.5 MB, free: 6.645 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.351e-05/0.1096, allocations: 32 kB / 341.5 MB, free: 6.613 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.1096, allocations: 12 kB / 341.5 MB, free: 6.602 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.1112, allocations: 0.6922 MB / 342.2 MB, free: 5.906 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.003606/0.1148, allocations: 2.186 MB / 344.4 MB, free: 3.617 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.1166, allocations: 1.061 MB / 345.5 MB, free: 2.496 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000839/0.1174, allocations: 451.2 kB / 345.9 MB, free: 2.051 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.445e-05/0.1175, allocations: 8.656 kB / 345.9 MB, free: 2.039 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.1175, allocations: 51.88 kB / 346 MB, free: 1.98 MB / 286.1 MB Notification: Performance of pre-optimization done (n=77): time 4.829e-06/0.1176, allocations: 3.984 kB / 346 MB, free: 1.977 MB / 286.1 MB Notification: Performance of matching and sorting (n=77): time 0.005092/0.1227, allocations: 2.019 MB / 348 MB, free: 15.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003836/0.1231, allocations: 0.8272 MB / 348.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008574/0.1239, allocations: 0.6645 MB / 349.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.1241, allocations: 49.7 kB / 349.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.1244, allocations: 353 kB / 349.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.1246, allocations: 260.1 kB / 350.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.1247, allocations: 16 kB / 350.1 MB, free: 13.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1248, allocations: 341.9 kB / 350.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006892/0.1255, allocations: 309.8 kB / 350.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000929/0.1264, allocations: 0.5937 MB / 351.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007844/0.1272, allocations: 436 kB / 351.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.1272, allocations: 0 / 351.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002734/0.13, allocations: 1.219 MB / 353 MB, free: 10.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.217e-05/0.1301, allocations: 93.03 kB / 353.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1301, allocations: 0 / 353.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007087/0.1308, allocations: 247.3 kB / 353.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006728/0.1315, allocations: 159.8 kB / 353.5 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007725/0.1392, allocations: 6.492 MB / 360 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009811/0.1402, allocations: 135.2 kB / 360.1 MB, free: 2.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.1403, allocations: 24 kB / 360.1 MB, free: 2.754 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004217/0.1407, allocations: 225.7 kB / 360.4 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.1409, allocations: 90.97 kB / 360.5 MB, free: 2.434 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.1411, allocations: 100.5 kB / 360.6 MB, free: 2.328 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.1411, allocations: 4 kB / 360.6 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.1412, allocations: 4 kB / 360.6 MB, free: 2.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00257/0.1437, allocations: 1.37 MB / 361.9 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003816/0.1476, allocations: 2.082 MB / 364 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1476, allocations: 4 kB / 364 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007273/0.1483, allocations: 155.8 kB / 364.2 MB, free: 14.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000529/0.1489, allocations: 218.5 kB / 364.4 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-05/0.1489, allocations: 27.92 kB / 364.4 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005899/0.1548, allocations: 5.055 MB / 369.5 MB, free: 8.824 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1549, allocations: 0 / 369.5 MB, free: 8.824 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003386/0.1583, allocations: 1.566 MB / 371 MB, free: 7.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004181/0.1587, allocations: 251.8 kB / 371.3 MB, free: 6.965 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.1588, allocations: 20 kB / 371.3 MB, free: 6.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006254/0.1595, allocations: 71.89 kB / 371.4 MB, free: 6.875 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.1596, allocations: 60.56 kB / 371.4 MB, free: 6.816 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.1597, allocations: 19.98 kB / 371.4 MB, free: 6.797 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006242/0.1603, allocations: 471 kB / 371.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1603, allocations: 0 / 371.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009586/0.1613, allocations: 291.7 kB / 372.2 MB, free: 6.059 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002018/0.1615, allocations: 131.1 kB / 372.3 MB, free: 5.922 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002476/0.164, allocations: 1.434 MB / 373.8 MB, free: 4.398 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.164, allocations: 0 / 373.8 MB, free: 4.398 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.1653, allocations: 0.8239 MB / 374.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009606/0.1663, allocations: 222.8 kB / 374.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.1693, allocations: 1.982 MB / 376.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.1699, allocations: 0.9558 MB / 377.7 MB, free: 328 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000458/0.1703, allocations: 102.7 kB / 377.8 MB, free: 220 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.1705, allocations: 63.42 kB / 377.9 MB, free: 160 kB / 318.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1705, allocations: 0 / 377.9 MB, free: 160 kB / 318.1 MB Notification: Performance of Templates: time 0.1841/0.3546, allocations: 16.5 MB / 394.4 MB, free: 45.69 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches