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.000773/0.0007729, allocations: 95.58 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000874/0.0008741, allocations: 205.6 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.7 MB / 246.8 MB, free: 9.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003282, allocations: 4 kB / 307.7 MB, free: 0.5859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1023, allocations: 51.53 MB / 359.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004881/0.1072, allocations: 4.798 MB / 364.1 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.1094, allocations: 1.312 MB / 365.4 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.1096, allocations: 11.94 kB / 365.4 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.11, allocations: 131.1 kB / 365.5 MB, free: 6.766 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005373/0.1105, allocations: 289.7 kB / 365.8 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.1109, allocations: 207.8 kB / 366 MB, free: 6.277 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.1122, allocations: 1.164 MB / 367.2 MB, free: 5.105 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005679/0.1128, allocations: 311.1 kB / 367.5 MB, free: 4.785 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005781/0.1134, allocations: 418.3 kB / 367.9 MB, free: 4.375 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004922/0.1139, allocations: 493.8 kB / 368.4 MB, free: 3.891 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.114, allocations: 71.94 kB / 368.4 MB, free: 3.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.1141, allocations: 68 kB / 368.5 MB, free: 3.754 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.1143, allocations: 195.2 kB / 368.7 MB, free: 3.562 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000419/0.1147, allocations: 0.5148 MB / 369.2 MB, free: 3.039 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009161/0.1156, allocations: 1.183 MB / 370.4 MB, free: 1.852 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1156, allocations: 0 / 370.4 MB, free: 1.852 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.1157, allocations: 0 / 370.4 MB, free: 1.852 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.1157, allocations: 3.938 kB / 370.4 MB, free: 1.848 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.002147/0.1178, allocations: 1.232 MB / 371.6 MB, free: 0.543 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1179, allocations: 8.031 kB / 371.6 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.1181, allocations: 115.7 kB / 371.7 MB, free: 432 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1577/0.2757, allocations: 0.5947 MB / 372.3 MB, free: 18.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003456/0.2761, allocations: 177.5 kB / 372.5 MB, free: 18.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.2762, allocations: 61.91 kB / 372.6 MB, free: 18.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.2778, allocations: 0.9184 MB / 373.5 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.2779, allocations: 0.75 kB / 373.5 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.946e-05/0.2779, allocations: 29.59 kB / 373.5 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.278, allocations: 17.84 kB / 373.5 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.2797, allocations: 0.6897 MB / 374.2 MB, free: 18.22 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.003586/0.2833, allocations: 2.197 MB / 376.4 MB, free: 17.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.285, allocations: 1.061 MB / 377.5 MB, free: 16.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008896/0.2859, allocations: 449.3 kB / 377.9 MB, free: 16.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.651e-05/0.286, allocations: 17.25 kB / 377.9 MB, free: 16.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.286, allocations: 47.31 kB / 378 MB, free: 16.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 3.286e-06/0.286, allocations: 0 / 378 MB, free: 16.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.005547/0.2916, allocations: 2.038 MB / 380 MB, free: 15.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.2917, allocations: 0.8238 MB / 380.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007532/0.2925, allocations: 0.6597 MB / 381.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.682e-05/0.2926, allocations: 46.81 kB / 381.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.2928, allocations: 349 kB / 381.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.293, allocations: 269.2 kB / 382.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.5e-05/0.293, allocations: 63.78 kB / 382.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.126e-05/0.2931, allocations: 339.6 kB / 382.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007364/0.2939, allocations: 310.9 kB / 382.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009002/0.2948, allocations: 0.5977 MB / 383.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.2964, allocations: 0.767 MB / 384.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2965, allocations: 0 / 384.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002842/0.2993, allocations: 1.227 MB / 385.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.2994, allocations: 85.36 kB / 385.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.2994, allocations: 0.6094 kB / 385.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006846/0.3001, allocations: 255 kB / 385.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006974/0.3008, allocations: 158 kB / 385.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006173/0.307, allocations: 6.51 MB / 392.4 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009781/0.308, allocations: 125.8 kB / 392.6 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/0.308, allocations: 27.72 kB / 392.6 MB, free: 5.906 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.0003365/0.3084, allocations: 219.5 kB / 392.8 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.3085, allocations: 93.92 kB / 392.9 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/0.3087, allocations: 104.8 kB / 393 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3087, allocations: 11.28 kB / 393 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.3087, allocations: 1.281 kB / 393 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002623/0.3113, allocations: 1.362 MB / 394.4 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003775/0.3151, allocations: 2.105 MB / 396.5 MB, free: 3.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3152, allocations: 0 / 396.5 MB, free: 3.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007488/0.3159, allocations: 159.4 kB / 396.6 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005512/0.3165, allocations: 220.1 kB / 396.9 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.621e-05/0.3165, allocations: 19.88 kB / 396.9 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00551/0.322, allocations: 5.06 MB / 401.9 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3221, allocations: 0 / 401.9 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003585/0.3257, allocations: 1.575 MB / 403.5 MB, free: 13.97 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/0.326, allocations: 247.3 kB / 403.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.3261, allocations: 19.88 kB / 403.8 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007275/0.3269, allocations: 76 kB / 403.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.327, allocations: 64.19 kB / 403.9 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.766e-05/0.3271, allocations: 15.81 kB / 403.9 MB, free: 13.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005382/0.3276, allocations: 482.8 kB / 404.4 MB, free: 13.38 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3276, allocations: 5.656 kB / 404.4 MB, free: 13.38 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008246/0.3284, allocations: 289.6 kB / 404.7 MB, free: 13.34 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.0001707/0.3286, allocations: 118.8 kB / 404.8 MB, free: 13.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002435/0.3311, allocations: 1.438 MB / 406.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3311, allocations: 0 / 406.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.3326, allocations: 0.8285 MB / 407.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.3336, allocations: 225.6 kB / 407.3 MB, free: 10.9 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.3364, allocations: 2.067 MB / 409.4 MB, free: 8.805 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.3369, allocations: 0.9481 MB / 410.3 MB, free: 7.828 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004136/0.3373, allocations: 110.7 kB / 410.4 MB, free: 7.715 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.3375, allocations: 67.42 kB / 410.5 MB, free: 7.652 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3375, allocations: 4 kB / 410.5 MB, free: 7.648 MB / 318.1 MB Notification: Performance of Templates: time 0.02635/0.3639, allocations: 17.17 MB / 427.6 MB, free: 6.746 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