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.0007363/0.0007364, allocations: 91.25 kB / 16.65 MB, free: 6.59 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.0008113/0.0008113, allocations: 184.5 kB / 17.56 MB, free: 6.203 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.306/1.306, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002384/0.0002384, allocations: 8.875 kB / 301.4 MB, free: 5.91 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09835/0.0986, allocations: 50.41 MB / 351.8 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005009/0.1036, allocations: 4.797 MB / 356.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002494/0.1062, allocations: 1.273 MB / 357.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005565/0.1068, allocations: 8 kB / 357.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004711/0.1072, allocations: 127.1 kB / 358 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009168/0.1082, allocations: 297.7 kB / 358.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/0.1087, allocations: 207.8 kB / 358.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.1101, allocations: 1.163 MB / 359.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004792/0.1106, allocations: 315.1 kB / 360 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005904/0.1112, allocations: 418.3 kB / 360.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006794/0.1119, allocations: 493.8 kB / 360.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002123/0.1121, allocations: 68 kB / 361 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.1123, allocations: 68 kB / 361 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.1125, allocations: 191.2 kB / 361.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005759/0.1131, allocations: 0.5188 MB / 361.7 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.1142, allocations: 1.179 MB / 362.9 MB, free: 8.336 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1142, allocations: 0 / 362.9 MB, free: 8.336 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1142, allocations: 0 / 362.9 MB, free: 8.336 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.092e-05/0.1142, allocations: 0 / 362.9 MB, free: 8.336 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.002439/0.1167, allocations: 1.236 MB / 364.1 MB, free: 7.031 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1167, allocations: 8.031 kB / 364.2 MB, free: 7.023 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002463/0.117, allocations: 111.7 kB / 364.3 MB, free: 6.914 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.118, allocations: 0.5988 MB / 364.9 MB, free: 6.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003396/0.1184, allocations: 178.9 kB / 365 MB, free: 6.078 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.1185, allocations: 64.38 kB / 365.1 MB, free: 6.016 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.1202, allocations: 0.9213 MB / 366 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.1202, allocations: 3.938 kB / 366 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-05/0.1203, allocations: 32 kB / 366.1 MB, free: 4.957 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.1203, allocations: 15.98 kB / 366.1 MB, free: 4.941 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.122, allocations: 0.6883 MB / 366.8 MB, free: 4.25 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.003682/0.1257, allocations: 2.197 MB / 369 MB, free: 1.941 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.1277, allocations: 1.063 MB / 370 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009478/0.1286, allocations: 455.2 kB / 370.5 MB, free: 384 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.53e-05/0.1287, allocations: 12.64 kB / 370.5 MB, free: 368 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.1287, allocations: 47.22 kB / 370.5 MB, free: 312 kB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 2.775e-06/0.1287, allocations: 0 / 370.5 MB, free: 312 kB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.1672/0.2959, allocations: 2.026 MB / 372.5 MB, free: 23.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/0.2961, allocations: 0.8263 MB / 373.4 MB, free: 22.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000839/0.2969, allocations: 0.6668 MB / 374 MB, free: 22.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.967e-05/0.297, allocations: 45.3 kB / 374.1 MB, free: 22.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/0.2974, allocations: 350.9 kB / 374.4 MB, free: 22.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.2977, allocations: 272.4 kB / 374.7 MB, free: 22.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.2978, allocations: 63.45 kB / 374.8 MB, free: 22.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.486e-05/0.2979, allocations: 336.4 kB / 375.1 MB, free: 22.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009209/0.2988, allocations: 313.8 kB / 375.4 MB, free: 22.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.2999, allocations: 0.591 MB / 376 MB, free: 22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.3014, allocations: 0.7684 MB / 376.7 MB, free: 21.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3015, allocations: 3.828 kB / 376.8 MB, free: 21.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002974/0.3044, allocations: 1.23 MB / 378 MB, free: 21.17 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.888e-05/0.3045, allocations: 88.75 kB / 378.1 MB, free: 21.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.3045, allocations: 1.828 kB / 378.1 MB, free: 21.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006951/0.3052, allocations: 246.1 kB / 378.3 MB, free: 20.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007068/0.3059, allocations: 165.3 kB / 378.5 MB, free: 20.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006569/0.3125, allocations: 6.496 MB / 385 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.3136, allocations: 131.5 kB / 385.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.41e-05/0.3137, allocations: 23.25 kB / 385.1 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.0003757/0.3141, allocations: 226.9 kB / 385.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.3142, allocations: 95.41 kB / 385.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.3144, allocations: 94.41 kB / 385.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.3144, allocations: 8.828 kB / 385.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.3144, allocations: 0 / 385.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002656/0.3171, allocations: 1.367 MB / 386.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00406/0.3212, allocations: 2.097 MB / 389 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3212, allocations: 0 / 389 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007506/0.322, allocations: 163.8 kB / 389.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005493/0.3225, allocations: 213.1 kB / 389.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/0.3226, allocations: 17.33 kB / 389.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005417/0.328, allocations: 5.066 MB / 394.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.328, allocations: 0 / 394.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003572/0.3316, allocations: 1.572 MB / 396 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004136/0.332, allocations: 257.2 kB / 396.3 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.3322, allocations: 19.88 kB / 396.3 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007731/0.333, allocations: 70.77 kB / 396.4 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.3332, allocations: 67.7 kB / 396.4 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/0.3332, allocations: 17.94 kB / 396.4 MB, free: 7.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004982/0.3337, allocations: 476.5 kB / 396.9 MB, free: 7.457 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3337, allocations: 3.938 kB / 396.9 MB, free: 7.457 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008819/0.3346, allocations: 286 kB / 397.2 MB, free: 7.414 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.0001548/0.3348, allocations: 127.3 kB / 397.3 MB, free: 7.301 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002494/0.3373, allocations: 1.431 MB / 398.7 MB, free: 6.285 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.3373, allocations: 2.75 kB / 398.8 MB, free: 6.285 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.3388, allocations: 0.8333 MB / 399.6 MB, free: 5.707 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.34, allocations: 228.4 kB / 399.8 MB, free: 5.586 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.3426, allocations: 2.068 MB / 401.9 MB, free: 4.133 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.3429, allocations: 0.9559 MB / 402.8 MB, free: 3.324 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.00045/0.3434, allocations: 108.2 kB / 402.9 MB, free: 3.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.3436, allocations: 59.16 kB / 403 MB, free: 3.262 MB / 302.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3436, allocations: 3.906 kB / 403 MB, free: 3.262 MB / 302.1 MB Notification: Performance of Templates: time 0.02768/0.3713, allocations: 17.17 MB / 420.2 MB, free: 2.703 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 -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/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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches