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.001068/0.001068, allocations: 106 kB / 16.62 MB, free: 6.805 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.001074/0.001074, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.363/1.363, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009371/0.0009371, allocations: 38.22 kB / 300.1 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08393/0.08488, allocations: 49.46 MB / 349.6 MB, free: 4.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005466/0.09038, allocations: 5.198 MB / 354.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.09263, allocations: 1.316 MB / 356.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000291/0.09294, allocations: 15.94 kB / 356.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000396/0.09337, allocations: 127.1 kB / 356.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005403/0.09392, allocations: 293.7 kB / 356.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.09434, allocations: 211.7 kB / 356.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001028/0.09537, allocations: 1.227 MB / 357.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004259/0.09581, allocations: 350.3 kB / 358.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003978/0.09622, allocations: 474.3 kB / 358.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004751/0.0967, allocations: 0.5252 MB / 359.3 MB, free: 11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.09684, allocations: 108 kB / 359.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.09699, allocations: 108 kB / 359.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.09716, allocations: 239.2 kB / 359.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004213/0.09759, allocations: 0.5482 MB / 360.3 MB, free: 10 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009423/0.09854, allocations: 1.226 MB / 361.5 MB, free: 8.773 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.09855, allocations: 0 / 361.5 MB, free: 8.773 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.09856, allocations: 0 / 361.5 MB, free: 8.773 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.09858, allocations: 0 / 361.5 MB, free: 8.773 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.002271/0.1009, allocations: 1.391 MB / 362.9 MB, free: 7.312 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1009, allocations: 8.031 kB / 362.9 MB, free: 7.305 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.1011, allocations: 119.7 kB / 363 MB, free: 7.188 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008038/0.1019, allocations: 0.5987 MB / 363.6 MB, free: 6.547 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002951/0.1022, allocations: 162.9 kB / 363.8 MB, free: 6.371 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.351e-05/0.1023, allocations: 60.38 kB / 363.8 MB, free: 6.312 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.1037, allocations: 0.9057 MB / 364.7 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.1038, allocations: 0 / 364.7 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.542e-05/0.1039, allocations: 32 kB / 364.8 MB, free: 5.273 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.1039, allocations: 12 kB / 364.8 MB, free: 5.262 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.1053, allocations: 0.657 MB / 365.4 MB, free: 4.602 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.003186/0.1085, allocations: 2.182 MB / 367.6 MB, free: 2.309 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.1102, allocations: 1.025 MB / 368.6 MB, free: 1.227 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008375/0.1111, allocations: 435.2 kB / 369.1 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.384e-05/0.1112, allocations: 8.656 kB / 369.1 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.1112, allocations: 55.22 kB / 369.1 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 2.104e-06/0.1112, allocations: 0 / 369.1 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.1559/0.2671, allocations: 1.868 MB / 371 MB, free: 25.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001765/0.2673, allocations: 0.8254 MB / 371.8 MB, free: 24.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009118/0.2682, allocations: 0.6658 MB / 372.5 MB, free: 24.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.2684, allocations: 44.7 kB / 372.5 MB, free: 24.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.2686, allocations: 348.9 kB / 372.9 MB, free: 24.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.2688, allocations: 267.7 kB / 373.1 MB, free: 23.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.269, allocations: 148.5 kB / 373.3 MB, free: 23.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.646e-05/0.2691, allocations: 331.7 kB / 373.6 MB, free: 23.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007106/0.2698, allocations: 299.7 kB / 373.9 MB, free: 23.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009302/0.2708, allocations: 0.5749 MB / 374.5 MB, free: 23.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.2721, allocations: 0.7269 MB / 375.2 MB, free: 22.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.2722, allocations: 1.875 kB / 375.2 MB, free: 22.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002723/0.2749, allocations: 1.149 MB / 376.3 MB, free: 22.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/0.2749, allocations: 94.19 kB / 376.4 MB, free: 22.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.275, allocations: 3.75 kB / 376.4 MB, free: 22.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006753/0.2756, allocations: 235.2 kB / 376.7 MB, free: 22.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007191/0.2764, allocations: 156 kB / 376.8 MB, free: 22.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006701/0.2831, allocations: 6.919 MB / 383.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009243/0.284, allocations: 109.4 kB / 383.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.21e-05/0.2841, allocations: 26.77 kB / 383.9 MB, free: 15.68 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.0003322/0.2845, allocations: 227.2 kB / 384.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.2846, allocations: 90.44 kB / 384.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.2848, allocations: 101.8 kB / 384.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.2848, allocations: 7.625 kB / 384.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.2848, allocations: 4.547 kB / 384.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002502/0.2874, allocations: 1.289 MB / 385.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00402/0.2914, allocations: 2.016 MB / 387.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.2914, allocations: 1.125 kB / 387.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007539/0.2922, allocations: 153.1 kB / 387.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005217/0.2927, allocations: 199.4 kB / 388 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.95e-05/0.2928, allocations: 18.47 kB / 388 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005407/0.2982, allocations: 5.351 MB / 393.3 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2982, allocations: 4.062 kB / 393.3 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003238/0.3014, allocations: 1.483 MB / 394.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003724/0.3018, allocations: 249.6 kB / 395 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.302, allocations: 23.38 kB / 395.1 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007601/0.3028, allocations: 61.03 kB / 395.1 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.303, allocations: 70.08 kB / 395.2 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.303, allocations: 17.31 kB / 395.2 MB, free: 7.898 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005659/0.3036, allocations: 480.2 kB / 395.7 MB, free: 7.656 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3036, allocations: 0 / 395.7 MB, free: 7.656 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009418/0.3046, allocations: 288.3 kB / 396 MB, free: 7.613 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.0001465/0.3047, allocations: 125.2 kB / 396.1 MB, free: 7.504 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002396/0.3071, allocations: 1.432 MB / 397.5 MB, free: 6.461 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.3071, allocations: 3.969 kB / 397.5 MB, free: 6.461 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.3084, allocations: 0.8024 MB / 398.3 MB, free: 5.883 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.3094, allocations: 233.5 kB / 398.6 MB, free: 5.758 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/0.3121, allocations: 1.94 MB / 400.5 MB, free: 4.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.3125, allocations: 0.9566 MB / 401.5 MB, free: 3.621 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004914/0.313, allocations: 110.6 kB / 401.6 MB, free: 3.562 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.3132, allocations: 66.31 kB / 401.6 MB, free: 3.551 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3132, allocations: 1.375 kB / 401.6 MB, free: 3.551 MB / 302.1 MB Notification: Performance of Templates: time 0.02721/0.3404, allocations: 18.32 MB / 419.9 MB, free: 2.781 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