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.001575/0.001575, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002192/0.002192, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 55.94 kB / 306.9 MB, free: 0.6719 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08441/0.08558, allocations: 50.53 MB / 357.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006216/0.09183, allocations: 5.208 MB / 362.7 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.09438, allocations: 1.359 MB / 364 MB, free: 7.531 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005417/0.09496, allocations: 11.94 kB / 364 MB, free: 7.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005298/0.0955, allocations: 170.5 kB / 364.2 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008616/0.09638, allocations: 333.1 kB / 364.5 MB, free: 7.023 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.09692, allocations: 247.6 kB / 364.8 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.0984, allocations: 1.215 MB / 366 MB, free: 5.559 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00052/0.09894, allocations: 338.4 kB / 366.3 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006759/0.09962, allocations: 478.3 kB / 366.8 MB, free: 4.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008115/0.1004, allocations: 0.5252 MB / 367.3 MB, free: 4.219 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002428/0.1007, allocations: 111.9 kB / 367.4 MB, free: 4.109 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002807/0.101, allocations: 112 kB / 367.5 MB, free: 4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.1012, allocations: 231.2 kB / 367.8 MB, free: 3.773 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004864/0.1017, allocations: 0.5405 MB / 368.3 MB, free: 3.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009554/0.1026, allocations: 1.234 MB / 369.5 MB, free: 1.992 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1027, allocations: 0 / 369.5 MB, free: 1.992 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1027, allocations: 0 / 369.5 MB, free: 1.992 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.1027, allocations: 0 / 369.5 MB, free: 1.992 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.00229/0.105, allocations: 1.391 MB / 370.9 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.105, allocations: 8.031 kB / 370.9 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.1052, allocations: 111.7 kB / 371 MB, free: 420 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1607/0.2659, allocations: 0.5898 MB / 371.6 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003237/0.2663, allocations: 167.5 kB / 371.8 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.2664, allocations: 68.78 kB / 371.9 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.268, allocations: 0.8961 MB / 372.8 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.268, allocations: 0.7188 kB / 372.8 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.874e-05/0.2681, allocations: 28.16 kB / 372.8 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.2681, allocations: 18.47 kB / 372.8 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.2697, allocations: 0.6586 MB / 373.5 MB, free: 19.33 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.003382/0.2731, allocations: 2.185 MB / 375.6 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.2747, allocations: 1.016 MB / 376.7 MB, free: 17.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008638/0.2756, allocations: 429.8 kB / 377.1 MB, free: 17.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.817e-05/0.2757, allocations: 15.41 kB / 377.1 MB, free: 17.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.2757, allocations: 50.22 kB / 377.2 MB, free: 17.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 2.545e-06/0.2757, allocations: 0 / 377.2 MB, free: 17.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.005083/0.2808, allocations: 1.869 MB / 379 MB, free: 16.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/0.281, allocations: 0.8235 MB / 379.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007782/0.2818, allocations: 0.6692 MB / 380.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.567e-05/0.2819, allocations: 44.73 kB / 380.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.2821, allocations: 352.2 kB / 380.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.2822, allocations: 270.6 kB / 381.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/0.2825, allocations: 144.1 kB / 381.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.883e-05/0.2825, allocations: 336 kB / 381.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007159/0.2832, allocations: 297.5 kB / 381.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008923/0.2841, allocations: 0.5786 MB / 382.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.2856, allocations: 0.733 MB / 383.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2856, allocations: 0 / 383.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002695/0.2883, allocations: 1.144 MB / 384.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/0.2884, allocations: 85.72 kB / 384.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.2884, allocations: 5.562 kB / 384.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006682/0.2891, allocations: 242.6 kB / 384.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006893/0.2898, allocations: 149.5 kB / 384.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006776/0.2966, allocations: 6.939 MB / 391.8 MB, free: 6.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009077/0.2975, allocations: 110 kB / 391.9 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/0.2976, allocations: 24.08 kB / 391.9 MB, free: 6.387 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.0003181/0.2979, allocations: 226 kB / 392.1 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.298, allocations: 91.95 kB / 392.2 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.2982, allocations: 98.03 kB / 392.3 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.2982, allocations: 7.688 kB / 392.3 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.2982, allocations: 256 / 392.3 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00253/0.3008, allocations: 1.295 MB / 393.6 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003543/0.3043, allocations: 2.016 MB / 395.6 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.3044, allocations: 4 kB / 395.6 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007063/0.3051, allocations: 150 kB / 395.8 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005024/0.3056, allocations: 196.9 kB / 396 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.256e-05/0.3056, allocations: 16.19 kB / 396 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005414/0.3111, allocations: 5.353 MB / 401.4 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3111, allocations: 0.7812 kB / 401.4 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00368/0.3148, allocations: 1.49 MB / 402.8 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004331/0.3152, allocations: 244.9 kB / 403.1 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.3154, allocations: 23.77 kB / 403.1 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007191/0.3161, allocations: 51.42 kB / 403.2 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.3163, allocations: 67.91 kB / 403.2 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/0.3163, allocations: 20.98 kB / 403.2 MB, free: 13.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006266/0.317, allocations: 481.5 kB / 403.7 MB, free: 13.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.317, allocations: 0 / 403.7 MB, free: 13.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009242/0.3179, allocations: 289.9 kB / 404 MB, free: 13.38 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.0001904/0.3181, allocations: 126.5 kB / 404.1 MB, free: 13.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002607/0.3207, allocations: 1.434 MB / 405.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.3207, allocations: 0 / 405.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001395/0.3221, allocations: 0.7974 MB / 406.4 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009699/0.3231, allocations: 242.1 kB / 406.6 MB, free: 11.53 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.3262, allocations: 1.672 MB / 408.3 MB, free: 9.984 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/0.3268, allocations: 0.9481 MB / 409.2 MB, free: 9.012 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004853/0.3273, allocations: 106.7 kB / 409.3 MB, free: 8.902 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.3275, allocations: 67.42 kB / 409.4 MB, free: 8.84 MB / 318.1 MB Notification: Performance of SimCode: time 1.953e-06/0.3275, allocations: 7.938 kB / 409.4 MB, free: 8.832 MB / 318.1 MB Notification: Performance of Templates: time 0.02934/0.3569, allocations: 18.74 MB / 428.1 MB, free: 6.383 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