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.001419/0.001419, allocations: 115.5 kB / 17.7 MB, free: 5.422 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.001493/0.001493, allocations: 188 kB / 18.63 MB, free: 4.492 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.312/1.312, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 47.77 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1151, allocations: 49.45 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006005/0.1211, allocations: 5.183 MB / 356.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.1236, allocations: 1.324 MB / 358 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003248/0.1239, allocations: 12 kB / 358 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004232/0.1244, allocations: 166.5 kB / 358.2 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007344/0.1251, allocations: 337.1 kB / 358.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.1256, allocations: 239.6 kB / 358.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.1271, allocations: 1.234 MB / 360 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005378/0.1277, allocations: 342.1 kB / 360.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007496/0.1284, allocations: 470.3 kB / 360.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000679/0.1291, allocations: 0.533 MB / 361.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.1293, allocations: 108 kB / 361.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.1295, allocations: 112 kB / 361.5 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.1297, allocations: 235.2 kB / 361.8 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00066/0.1304, allocations: 0.5366 MB / 362.3 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001817/0.1322, allocations: 1.25 MB / 363.5 MB, free: 7.582 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.1322, allocations: 7.938 kB / 363.5 MB, free: 7.574 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.1322, allocations: 0 / 363.5 MB, free: 7.574 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.1323, allocations: 0 / 363.5 MB, free: 7.574 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.002616/0.1349, allocations: 1.387 MB / 364.9 MB, free: 6.117 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1349, allocations: 8.031 kB / 364.9 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.1351, allocations: 111.7 kB / 365.1 MB, free: 6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.1362, allocations: 0.5948 MB / 365.6 MB, free: 5.363 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/0.1364, allocations: 150.9 kB / 365.8 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.1365, allocations: 64.38 kB / 365.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.1383, allocations: 0.8906 MB / 366.7 MB, free: 4.145 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.1383, allocations: 4 kB / 366.8 MB, free: 4.141 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.615e-05/0.1384, allocations: 28 kB / 366.8 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.1384, allocations: 19.94 kB / 366.8 MB, free: 4.094 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.1398, allocations: 0.6258 MB / 367.4 MB, free: 3.469 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.003641/0.1434, allocations: 2.182 MB / 369.6 MB, free: 1.176 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.1452, allocations: 1.007 MB / 370.6 MB, free: 116 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1599/0.3051, allocations: 415.3 kB / 371 MB, free: 25.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.3052, allocations: 13.52 kB / 371 MB, free: 25.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.3053, allocations: 49.05 kB / 371.1 MB, free: 25.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 2.705e-06/0.3053, allocations: 1.406 kB / 371.1 MB, free: 25.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.005272/0.3106, allocations: 1.831 MB / 372.9 MB, free: 24.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.3107, allocations: 0.8218 MB / 373.7 MB, free: 23.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000969/0.3117, allocations: 0.6736 MB / 374.4 MB, free: 23.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-05/0.3118, allocations: 46.11 kB / 374.5 MB, free: 23.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.3121, allocations: 352.4 kB / 374.8 MB, free: 23.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.3122, allocations: 262.2 kB / 375.1 MB, free: 23.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.3125, allocations: 154 kB / 375.2 MB, free: 23.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.37e-05/0.3126, allocations: 335.2 kB / 375.5 MB, free: 22.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006442/0.3132, allocations: 281 kB / 375.8 MB, free: 22.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008264/0.3141, allocations: 0.5602 MB / 376.4 MB, free: 22.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.3153, allocations: 0.7041 MB / 377.1 MB, free: 22.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.3153, allocations: 0 / 377.1 MB, free: 22.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002594/0.3179, allocations: 1.122 MB / 378.2 MB, free: 21.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/0.318, allocations: 89.06 kB / 378.3 MB, free: 21.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.318, allocations: 1.406 kB / 378.3 MB, free: 21.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006591/0.3187, allocations: 241.8 kB / 378.5 MB, free: 21.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006575/0.3193, allocations: 145.6 kB / 378.7 MB, free: 21.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00624/0.3256, allocations: 6.914 MB / 385.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008795/0.3265, allocations: 105.6 kB / 385.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/0.3266, allocations: 29.83 kB / 385.7 MB, free: 15.08 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.0003157/0.3269, allocations: 223.2 kB / 385.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.327, allocations: 91.28 kB / 386 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.3272, allocations: 97.08 kB / 386.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.3272, allocations: 8.719 kB / 386.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.3272, allocations: 1.188 kB / 386.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002323/0.3296, allocations: 1.266 MB / 387.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003705/0.3333, allocations: 1.982 MB / 389.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.3333, allocations: 1.75 kB / 389.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007296/0.334, allocations: 151.1 kB / 389.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005243/0.3346, allocations: 201.2 kB / 389.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/0.3346, allocations: 15.14 kB / 389.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005423/0.3401, allocations: 5.35 MB / 395.1 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3401, allocations: 0 / 395.1 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003116/0.3432, allocations: 1.438 MB / 396.5 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/0.3436, allocations: 249.1 kB / 396.8 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.3437, allocations: 27.09 kB / 396.8 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/0.3443, allocations: 53.89 kB / 396.8 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.3445, allocations: 63.94 kB / 396.9 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/0.3446, allocations: 21.16 kB / 396.9 MB, free: 7.297 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005276/0.3451, allocations: 472.5 kB / 397.4 MB, free: 7.035 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3451, allocations: 5.125 kB / 397.4 MB, free: 7.031 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008093/0.3459, allocations: 294.3 kB / 397.7 MB, free: 6.984 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.0001393/0.3461, allocations: 120.2 kB / 397.8 MB, free: 6.879 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002011/0.3481, allocations: 1.384 MB / 399.2 MB, free: 5.855 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3481, allocations: 0 / 399.2 MB, free: 5.855 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.3493, allocations: 0.7836 MB / 400 MB, free: 5.297 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009031/0.3502, allocations: 234.8 kB / 400.2 MB, free: 5.176 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.3525, allocations: 1.665 MB / 401.9 MB, free: 4.133 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.3529, allocations: 0.9542 MB / 402.8 MB, free: 3.324 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003917/0.3533, allocations: 111.3 kB / 402.9 MB, free: 3.266 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.3534, allocations: 65.59 kB / 403 MB, free: 3.254 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.3534, allocations: 0 / 403 MB, free: 3.254 MB / 302.1 MB Notification: Performance of Templates: time 0.02677/0.3802, allocations: 18.69 MB / 421.7 MB, free: 1.613 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 cvode -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