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.001189/0.001189, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001205/0.001205, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 63.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2395, allocations: 50.54 MB / 409.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005598/0.2451, allocations: 5.209 MB / 414.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.2477, allocations: 1.359 MB / 415.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003089/0.248, allocations: 11.94 kB / 415.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000417/0.2485, allocations: 166.5 kB / 416 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005906/0.2491, allocations: 333.1 kB / 416.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.2495, allocations: 247.6 kB / 416.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.2507, allocations: 1.23 MB / 417.8 MB, free: 9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004781/0.2512, allocations: 345.9 kB / 418.1 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004573/0.2517, allocations: 462.4 kB / 418.6 MB, free: 8.191 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005739/0.2523, allocations: 0.5368 MB / 419.1 MB, free: 7.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.2524, allocations: 108 kB / 419.2 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.2526, allocations: 108 kB / 419.3 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.2528, allocations: 235.2 kB / 419.6 MB, free: 7.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004489/0.2533, allocations: 0.5444 MB / 420.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.2543, allocations: 1.247 MB / 421.3 MB, free: 5.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.976e-06/0.2543, allocations: 8 kB / 421.4 MB, free: 5.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2543, allocations: 0 / 421.4 MB, free: 5.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.2544, allocations: 0 / 421.4 MB, free: 5.406 MB / 334.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.002395/0.2568, allocations: 1.38 MB / 422.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.2568, allocations: 12.03 kB / 422.7 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.257, allocations: 111.8 kB / 422.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.258, allocations: 0.6064 MB / 423.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.2582, allocations: 147 kB / 423.6 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.413e-05/0.2583, allocations: 64.38 kB / 423.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.2599, allocations: 0.8784 MB / 424.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.2599, allocations: 0 / 424.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-05/0.26, allocations: 36 kB / 424.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.2601, allocations: 16 kB / 424.6 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.2615, allocations: 0.6258 MB / 425.2 MB, free: 1.301 MB / 334.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.00336/0.2649, allocations: 2.166 MB / 427.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.2666, allocations: 1.008 MB / 428.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008225/0.2675, allocations: 415.3 kB / 428.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.006e-05/0.2675, allocations: 12.64 kB / 428.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.2676, allocations: 59.16 kB / 428.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.414e-06/0.2676, allocations: 0 / 428.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005133/0.2727, allocations: 1.828 MB / 430.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003512/0.2731, allocations: 0.8272 MB / 431.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007869/0.2739, allocations: 0.6685 MB / 432.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.154e-05/0.274, allocations: 45.7 kB / 432.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.2742, allocations: 353 kB / 432.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.2745, allocations: 264 kB / 432.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.2747, allocations: 146.7 kB / 433 MB, free: 9.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2748, allocations: 337.9 kB / 433.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006823/0.2755, allocations: 281.8 kB / 433.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000901/0.2764, allocations: 0.5624 MB / 434.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.2778, allocations: 0.703 MB / 434.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.2778, allocations: 0 / 434.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002656/0.2805, allocations: 1.122 MB / 436 MB, free: 5.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.466e-05/0.2806, allocations: 93.09 kB / 436.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.2806, allocations: 0 / 436.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007041/0.2813, allocations: 235.2 kB / 436.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006463/0.282, allocations: 147.8 kB / 436.4 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007645/0.2896, allocations: 6.935 MB / 443.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009312/0.2906, allocations: 103.3 kB / 443.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/0.2907, allocations: 24 kB / 443.5 MB, free: 13.77 MB / 366.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.000385/0.291, allocations: 221.9 kB / 443.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.2912, allocations: 98.89 kB / 443.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.2914, allocations: 100.5 kB / 443.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.2914, allocations: 8 kB / 443.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.2914, allocations: 0 / 443.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002503/0.2939, allocations: 1.268 MB / 445.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00379/0.2977, allocations: 1.986 MB / 447.2 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.2978, allocations: 0 / 447.2 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007219/0.2985, allocations: 151.8 kB / 447.3 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005592/0.2991, allocations: 194.5 kB / 447.5 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.803e-05/0.2991, allocations: 15.98 kB / 447.5 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006285/0.3054, allocations: 5.353 MB / 452.9 MB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3054, allocations: 0 / 452.9 MB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003366/0.3088, allocations: 1.438 MB / 454.3 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004575/0.3093, allocations: 251.8 kB / 454.6 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.3095, allocations: 23.98 kB / 454.6 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007264/0.3102, allocations: 51.89 kB / 454.6 MB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.3104, allocations: 64.56 kB / 454.7 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/0.3105, allocations: 16 kB / 454.7 MB, free: 1.867 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005802/0.311, allocations: 479 kB / 455.2 MB, free: 1.406 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3111, allocations: 0 / 455.2 MB, free: 1.406 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008732/0.3119, allocations: 287.8 kB / 455.5 MB, free: 1.125 MB / 366.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.0001689/0.3121, allocations: 127.1 kB / 455.6 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002288/0.3144, allocations: 1.375 MB / 457 MB, free: 15.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3144, allocations: 0 / 457 MB, free: 15.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001396/0.3158, allocations: 0.7847 MB / 457.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.3169, allocations: 238.8 kB / 458 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.3197, allocations: 1.654 MB / 459.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/0.3202, allocations: 0.952 MB / 460.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004078/0.3207, allocations: 106.7 kB / 460.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.3209, allocations: 67.44 kB / 460.8 MB, free: 11.63 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3209, allocations: 0 / 460.8 MB, free: 11.63 MB / 382.1 MB Notification: Performance of Templates: time 0.03023/0.3511, allocations: 19.47 MB / 480.2 MB, free: 8.422 MB / 398.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