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.00146/0.00146, allocations: 108.8 kB / 17.28 MB, free: 6.176 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.001579/0.00158, allocations: 189.3 kB / 18.2 MB, free: 5.254 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.516/1.516, allocations: 205.1 MB / 224 MB, free: 12.45 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.001075/0.001076, allocations: 56.39 kB / 280.1 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08108/0.08217, allocations: 46.64 MB / 326.8 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005765/0.08796, allocations: 5.199 MB / 332 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.09004, allocations: 1.36 MB / 333.3 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/0.09033, allocations: 12 kB / 333.4 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003894/0.09073, allocations: 131 kB / 333.5 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005489/0.09129, allocations: 301.7 kB / 333.8 MB, free: 13.76 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.09167, allocations: 203.8 kB / 334 MB, free: 13.56 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.09277, allocations: 1.215 MB / 335.2 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004353/0.09321, allocations: 354.1 kB / 335.5 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004388/0.09366, allocations: 470.3 kB / 336 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004467/0.09412, allocations: 0.5329 MB / 336.5 MB, free: 10.98 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.09425, allocations: 108 kB / 336.6 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.09441, allocations: 108 kB / 336.7 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.09457, allocations: 231.2 kB / 337 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004389/0.09502, allocations: 0.5405 MB / 337.5 MB, free: 10 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009462/0.09597, allocations: 1.23 MB / 338.7 MB, free: 8.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.09598, allocations: 0 / 338.7 MB, free: 8.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.09599, allocations: 0 / 338.7 MB, free: 8.77 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.09601, allocations: 0 / 338.7 MB, free: 8.77 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.002338/0.09836, allocations: 1.395 MB / 340.1 MB, free: 7.301 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.0984, allocations: 11.97 kB / 340.1 MB, free: 7.289 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.09861, allocations: 115.7 kB / 340.3 MB, free: 7.176 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000866/0.09948, allocations: 0.5949 MB / 340.9 MB, free: 6.543 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002879/0.09978, allocations: 162.9 kB / 341 MB, free: 6.367 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.0999, allocations: 64.38 kB / 341.1 MB, free: 6.305 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.1013, allocations: 0.8979 MB / 342 MB, free: 5.305 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.1014, allocations: 3.938 kB / 342 MB, free: 5.301 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.924e-05/0.1014, allocations: 32 kB / 342 MB, free: 5.27 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.1015, allocations: 16 kB / 342 MB, free: 5.254 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.1029, allocations: 0.6492 MB / 342.7 MB, free: 4.602 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.003286/0.1062, allocations: 2.19 MB / 344.9 MB, free: 2.305 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.108, allocations: 1.017 MB / 345.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008047/0.1088, allocations: 427.2 kB / 346.3 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-05/0.1088, allocations: 16.66 kB / 346.3 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.1089, allocations: 47.88 kB / 346.4 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of pre-optimization done (n=77): time 2.265e-06/0.1089, allocations: 0 / 346.4 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of matching and sorting (n=77): time 0.005073/0.114, allocations: 1.871 MB / 348.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003402/0.1143, allocations: 0.835 MB / 349.1 MB, free: 13.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007872/0.1151, allocations: 0.6685 MB / 349.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.06e-05/0.1152, allocations: 41.7 kB / 349.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.1155, allocations: 353.1 kB / 350.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000224/0.1157, allocations: 268 kB / 350.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.116, allocations: 146.7 kB / 350.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1161, allocations: 334 kB / 350.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006982/0.1168, allocations: 297.8 kB / 351.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009524/0.1178, allocations: 0.5702 MB / 351.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.1192, allocations: 0.7286 MB / 352.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.1192, allocations: 0 / 352.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002628/0.1219, allocations: 1.145 MB / 353.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.242e-05/0.1219, allocations: 89.09 kB / 353.7 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.122, allocations: 4 kB / 353.7 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006528/0.1226, allocations: 235.3 kB / 353.9 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006778/0.1233, allocations: 159.7 kB / 354.1 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007615/0.1309, allocations: 6.939 MB / 361 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.132, allocations: 107.3 kB / 361.1 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/0.1321, allocations: 24 kB / 361.1 MB, free: 0.875 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.0003903/0.1325, allocations: 229.7 kB / 361.3 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.1326, allocations: 94.91 kB / 361.4 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.1328, allocations: 96.47 kB / 361.5 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.1328, allocations: 8 kB / 361.5 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1328, allocations: 0 / 361.5 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002449/0.1353, allocations: 1.288 MB / 362.8 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003929/0.1392, allocations: 2.019 MB / 364.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1392, allocations: 192 / 364.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000729/0.14, allocations: 159.8 kB / 365 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005152/0.1405, allocations: 194.7 kB / 365.2 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.938e-05/0.1406, allocations: 12 kB / 365.2 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006283/0.1469, allocations: 5.361 MB / 370.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1469, allocations: 0 / 370.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003365/0.1503, allocations: 1.48 MB / 372 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004235/0.1507, allocations: 243.8 kB / 372.3 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.1508, allocations: 19.98 kB / 372.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000685/0.1515, allocations: 63.89 kB / 372.4 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/0.1517, allocations: 68.56 kB / 372.4 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-05/0.1518, allocations: 23.98 kB / 372.5 MB, free: 4.879 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005619/0.1523, allocations: 475 kB / 372.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1523, allocations: 0 / 372.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009005/0.1533, allocations: 291.7 kB / 373.2 MB, free: 4.133 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.0001658/0.1534, allocations: 123.1 kB / 373.3 MB, free: 4 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002516/0.156, allocations: 1.434 MB / 374.8 MB, free: 2.477 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.156, allocations: 4 kB / 374.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.1573, allocations: 0.7926 MB / 375.6 MB, free: 1.641 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009722/0.1583, allocations: 246.9 kB / 375.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1378/0.2961, allocations: 1.943 MB / 377.7 MB, free: 53.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.2967, allocations: 0.9545 MB / 378.7 MB, free: 52.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006518/0.2973, allocations: 108.4 kB / 378.8 MB, free: 52.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.2976, allocations: 64.55 kB / 378.9 MB, free: 52.68 MB / 318.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2976, allocations: 0 / 378.9 MB, free: 52.68 MB / 318.1 MB Notification: Performance of Templates: time 0.02741/0.325, allocations: 18.31 MB / 397.2 MB, free: 44.97 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