Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009886/0.0009886, allocations: 93.66 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009201/0.0009201, allocations: 191.7 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.7 MB / 246.4 MB, free: 9.816 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001913/0.0001913, allocations: 4 kB / 307.1 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08202/0.08223, allocations: 51.53 MB / 358.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.00434/0.08662, allocations: 4.549 MB / 363.2 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.08868, allocations: 1.25 MB / 364.4 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002846/0.08898, allocations: 11.94 kB / 364.4 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.08928, allocations: 111.1 kB / 364.6 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000532/0.08982, allocations: 289.7 kB / 364.8 MB, free: 7.188 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.09018, allocations: 179.8 kB / 365 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009451/0.09114, allocations: 1.078 MB / 366.1 MB, free: 5.926 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003825/0.09153, allocations: 288.8 kB / 366.4 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.09193, allocations: 414.5 kB / 366.8 MB, free: 5.223 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000468/0.0924, allocations: 470.1 kB / 367.2 MB, free: 4.762 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.09252, allocations: 64 kB / 367.3 MB, free: 4.699 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.09267, allocations: 75.94 kB / 367.4 MB, free: 4.625 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.09282, allocations: 187.3 kB / 367.6 MB, free: 4.441 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.093, allocations: 213.2 kB / 367.8 MB, free: 4.227 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006996/0.09371, allocations: 0.9153 MB / 368.7 MB, free: 3.309 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.09372, allocations: 0 / 368.7 MB, free: 3.309 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09373, allocations: 0 / 368.7 MB, free: 3.309 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.09375, allocations: 0 / 368.7 MB, free: 3.309 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.002043/0.09579, allocations: 1.243 MB / 369.9 MB, free: 1.996 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.09584, allocations: 8.031 kB / 369.9 MB, free: 1.988 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.09603, allocations: 110.8 kB / 370 MB, free: 1.879 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008528/0.09689, allocations: 0.5747 MB / 370.6 MB, free: 1.262 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002719/0.09717, allocations: 178.4 kB / 370.8 MB, free: 1.066 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.09729, allocations: 67.86 kB / 370.9 MB, free: 1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1492/0.2465, allocations: 0.9077 MB / 371.8 MB, free: 19.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.717e-05/0.2466, allocations: 0 / 371.8 MB, free: 19.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000176/0.2467, allocations: 28.89 kB / 371.8 MB, free: 19.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.2468, allocations: 14.62 kB / 371.8 MB, free: 19.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.2488, allocations: 0.6868 MB / 372.5 MB, free: 19.29 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.003961/0.2527, allocations: 2.192 MB / 374.7 MB, free: 18.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.2545, allocations: 1.064 MB / 375.7 MB, free: 17.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008201/0.2553, allocations: 442.2 kB / 376.2 MB, free: 17.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.926e-05/0.2554, allocations: 15.75 kB / 376.2 MB, free: 17.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.2555, allocations: 54.72 kB / 376.2 MB, free: 17.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 2.675e-06/0.2555, allocations: 0 / 376.2 MB, free: 17.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.005019/0.2605, allocations: 2.018 MB / 378.3 MB, free: 16.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001613/0.2607, allocations: 0.8266 MB / 379.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008557/0.2615, allocations: 0.6586 MB / 379.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.058e-05/0.2616, allocations: 48.61 kB / 379.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.2619, allocations: 353.1 kB / 380.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.262, allocations: 267.5 kB / 380.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.2621, allocations: 15.38 kB / 380.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.002e-05/0.2621, allocations: 336.5 kB / 380.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007077/0.2629, allocations: 312.2 kB / 381.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008645/0.2637, allocations: 0.595 MB / 381.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007384/0.2645, allocations: 439.1 kB / 382.1 MB, free: 13.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2645, allocations: 0 / 382.1 MB, free: 13.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002716/0.2672, allocations: 1.222 MB / 383.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.245e-05/0.2673, allocations: 89.17 kB / 383.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2673, allocations: 1.25 kB / 383.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007208/0.268, allocations: 253.7 kB / 383.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007099/0.2687, allocations: 157.1 kB / 383.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006036/0.2748, allocations: 6.49 MB / 390.3 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008622/0.2757, allocations: 126.3 kB / 390.4 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.607e-05/0.2758, allocations: 24.3 kB / 390.4 MB, free: 7.312 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.0003451/0.2761, allocations: 224 kB / 390.6 MB, free: 7.133 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.2763, allocations: 90.16 kB / 390.7 MB, free: 7.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.2765, allocations: 101.8 kB / 390.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.2765, allocations: 8.547 kB / 390.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.2765, allocations: 0 / 390.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002409/0.2789, allocations: 1.365 MB / 392.2 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003878/0.2828, allocations: 2.091 MB / 394.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2828, allocations: 0.5 kB / 394.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007263/0.2835, allocations: 160.1 kB / 394.5 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005034/0.2841, allocations: 220.6 kB / 394.7 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.2841, allocations: 20.23 kB / 394.7 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004884/0.289, allocations: 5.054 MB / 399.7 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.289, allocations: 0 / 399.7 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003724/0.2928, allocations: 1.571 MB / 401.3 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005802/0.2934, allocations: 246.2 kB / 401.6 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.2936, allocations: 19.56 kB / 401.6 MB, free: 15.35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007347/0.2943, allocations: 76.3 kB / 401.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.2945, allocations: 63.62 kB / 401.7 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/0.2946, allocations: 21.23 kB / 401.7 MB, free: 15.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006254/0.2952, allocations: 472.8 kB / 402.2 MB, free: 15.01 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2952, allocations: 0 / 402.2 MB, free: 15.01 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001074/0.2963, allocations: 285.8 kB / 402.5 MB, free: 14.96 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.0002234/0.2965, allocations: 131.5 kB / 402.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002303/0.2988, allocations: 1.424 MB / 404 MB, free: 13.84 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.2989, allocations: 1.75 kB / 404 MB, free: 13.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.3002, allocations: 0.831 MB / 404.9 MB, free: 13.26 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.3014, allocations: 231.2 kB / 405.1 MB, free: 13.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.3044, allocations: 1.982 MB / 407.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.3049, allocations: 0.952 MB / 408 MB, free: 10.29 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004849/0.3054, allocations: 110.7 kB / 408.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.3055, allocations: 71.38 kB / 408.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3056, allocations: 0 / 408.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of Templates: time 0.02629/0.3319, allocations: 16.5 MB / 424.7 MB, free: 9.875 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches