Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001612/0.001612, allocations: 112.5 kB / 17.68 MB, free: 5.469 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.001408/0.001408, allocations: 192 kB / 18.61 MB, free: 4.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009991/0.0009992, allocations: 55.42 kB / 302.1 MB, free: 5.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09294/0.09396, allocations: 49.43 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005828/0.09981, allocations: 5.195 MB / 356.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.1019, allocations: 1.32 MB / 358 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002791/0.1022, allocations: 11.94 kB / 358 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003895/0.1026, allocations: 166.5 kB / 358.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005519/0.1031, allocations: 341.1 kB / 358.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.1036, allocations: 235.6 kB / 358.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.1047, allocations: 1.234 MB / 360 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004355/0.1051, allocations: 350.1 kB / 360.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004128/0.1055, allocations: 466.3 kB / 360.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005127/0.1061, allocations: 0.533 MB / 361.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.1062, allocations: 108 kB / 361.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.1064, allocations: 115.9 kB / 361.5 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.1066, allocations: 231.2 kB / 361.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004371/0.107, allocations: 0.5483 MB / 362.3 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009468/0.108, allocations: 1.25 MB / 363.5 MB, free: 7.559 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.108, allocations: 0 / 363.5 MB, free: 7.559 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.108, allocations: 0 / 363.5 MB, free: 7.559 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.108, allocations: 0 / 363.5 MB, free: 7.559 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.002255/0.1103, allocations: 1.387 MB / 364.9 MB, free: 6.102 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.1103, allocations: 8.031 kB / 364.9 MB, free: 6.094 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.1105, allocations: 115.7 kB / 365.1 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009069/0.1114, allocations: 0.5987 MB / 365.7 MB, free: 5.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/0.1116, allocations: 143 kB / 365.8 MB, free: 5.184 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.896e-05/0.1117, allocations: 64.36 kB / 365.9 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.1131, allocations: 0.8906 MB / 366.7 MB, free: 4.129 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.1131, allocations: 0 / 366.7 MB, free: 4.129 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.405e-05/0.1132, allocations: 32 kB / 366.8 MB, free: 4.098 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1132, allocations: 12 kB / 366.8 MB, free: 4.086 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.1145, allocations: 0.6258 MB / 367.4 MB, free: 3.461 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.003164/0.1177, allocations: 2.178 MB / 369.6 MB, free: 1.172 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.1194, allocations: 1.009 MB / 370.6 MB, free: 112 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1513/0.2707, allocations: 412 kB / 371 MB, free: 25.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.2708, allocations: 20.89 kB / 371 MB, free: 25.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.2709, allocations: 46.28 kB / 371.1 MB, free: 25.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 3.116e-06/0.2709, allocations: 1.969 kB / 371.1 MB, free: 25.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.005324/0.2762, allocations: 1.836 MB / 372.9 MB, free: 24.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001626/0.2764, allocations: 0.8232 MB / 373.7 MB, free: 23.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.2775, allocations: 0.6684 MB / 374.4 MB, free: 23.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.2776, allocations: 45.33 kB / 374.4 MB, free: 23.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.2779, allocations: 347.6 kB / 374.8 MB, free: 23.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.2781, allocations: 270.4 kB / 375 MB, free: 23.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003224/0.2784, allocations: 151.8 kB / 375.2 MB, free: 23.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.347e-05/0.2785, allocations: 332.5 kB / 375.5 MB, free: 22.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006721/0.2792, allocations: 279.2 kB / 375.8 MB, free: 22.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009673/0.2802, allocations: 0.562 MB / 376.4 MB, free: 22.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.2815, allocations: 0.7047 MB / 377.1 MB, free: 22.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.2815, allocations: 1.375 kB / 377.1 MB, free: 22.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002689/0.2842, allocations: 1.121 MB / 378.2 MB, free: 21.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.955e-05/0.2843, allocations: 89.52 kB / 378.3 MB, free: 21.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.2843, allocations: 1.219 kB / 378.3 MB, free: 21.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007031/0.285, allocations: 242.8 kB / 378.5 MB, free: 21.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/0.2857, allocations: 144.9 kB / 378.6 MB, free: 21.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006484/0.2922, allocations: 6.916 MB / 385.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000833/0.293, allocations: 103.4 kB / 385.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.447e-05/0.2931, allocations: 23.11 kB / 385.7 MB, free: 15.12 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.0003239/0.2934, allocations: 226.5 kB / 385.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.2936, allocations: 91.67 kB / 386 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.2938, allocations: 99.05 kB / 386.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.2938, allocations: 7.844 kB / 386.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.2938, allocations: 4.656 kB / 386.1 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002367/0.2962, allocations: 1.266 MB / 387.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003968/0.3002, allocations: 1.988 MB / 389.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.3002, allocations: 0 / 389.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007194/0.3009, allocations: 146 kB / 389.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005218/0.3014, allocations: 208.3 kB / 389.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/0.3015, allocations: 14.7 kB / 389.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005598/0.3071, allocations: 5.351 MB / 395.1 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3072, allocations: 1.562 kB / 395.1 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003257/0.3104, allocations: 1.435 MB / 396.5 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000486/0.3109, allocations: 251.1 kB / 396.8 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.3111, allocations: 18.88 kB / 396.8 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006885/0.3118, allocations: 51.78 kB / 396.8 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.312, allocations: 63.84 kB / 396.9 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.3121, allocations: 21.31 kB / 396.9 MB, free: 7.328 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005952/0.3127, allocations: 476.8 kB / 397.4 MB, free: 7.062 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.3127, allocations: 1.219 kB / 397.4 MB, free: 7.062 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009168/0.3136, allocations: 290.5 kB / 397.7 MB, free: 7.02 MB / 302.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.0001632/0.3138, allocations: 128 kB / 397.8 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002076/0.3159, allocations: 1.378 MB / 399.2 MB, free: 5.887 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.3159, allocations: 2 kB / 399.2 MB, free: 5.887 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.3172, allocations: 0.7856 MB / 399.9 MB, free: 5.324 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.3182, allocations: 239.1 kB / 400.2 MB, free: 5.195 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.321, allocations: 1.66 MB / 401.8 MB, free: 4.156 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.3214, allocations: 0.9485 MB / 402.8 MB, free: 3.355 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004422/0.3218, allocations: 111 kB / 402.9 MB, free: 3.297 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.322, allocations: 70.17 kB / 403 MB, free: 3.281 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.322, allocations: 0 / 403 MB, free: 3.281 MB / 302.1 MB Notification: Performance of Templates: time 0.02869/0.3507, allocations: 18.69 MB / 421.7 MB, free: 1.637 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches