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.001316/0.001316, allocations: 104 kB / 17.59 MB, free: 5.586 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.00141/0.00141, allocations: 187.6 kB / 18.51 MB, free: 4.664 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.381/1.381, allocations: 222.9 MB / 242.2 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 38.31 kB / 301.3 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1074, allocations: 49.45 MB / 350.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006587/0.1141, allocations: 5.184 MB / 355.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.1168, allocations: 1.328 MB / 357.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006311/0.1175, allocations: 15.94 kB / 357.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005634/0.1181, allocations: 166.5 kB / 357.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.1192, allocations: 333.1 kB / 357.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005889/0.1198, allocations: 239.6 kB / 358 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001494/0.1213, allocations: 1.234 MB / 359.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005717/0.1219, allocations: 342.4 kB / 359.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00073/0.1226, allocations: 466.4 kB / 360 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008745/0.1235, allocations: 0.5252 MB / 360.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002667/0.1238, allocations: 112 kB / 360.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.1241, allocations: 111.9 kB / 360.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.1244, allocations: 235.2 kB / 361 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007565/0.1251, allocations: 0.5483 MB / 361.5 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.1264, allocations: 1.23 MB / 362.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1264, allocations: 0 / 362.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1264, allocations: 0 / 362.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.745e-05/0.1265, allocations: 0 / 362.7 MB, free: 8.328 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.002905/0.1294, allocations: 1.39 MB / 364.1 MB, free: 6.871 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1295, allocations: 8.031 kB / 364.1 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.1297, allocations: 115.7 kB / 364.3 MB, free: 6.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009246/0.1306, allocations: 0.5909 MB / 364.8 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003095/0.1309, allocations: 170.9 kB / 365 MB, free: 5.934 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.131, allocations: 64.38 kB / 365.1 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.1325, allocations: 0.9135 MB / 366 MB, free: 4.855 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.1325, allocations: 0 / 366 MB, free: 4.855 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-05/0.1326, allocations: 28 kB / 366 MB, free: 4.828 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.1326, allocations: 16 kB / 366 MB, free: 4.812 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.1342, allocations: 0.6531 MB / 366.7 MB, free: 4.16 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.003375/0.1376, allocations: 2.182 MB / 368.9 MB, free: 1.867 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.1394, allocations: 1.02 MB / 369.9 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008872/0.1403, allocations: 431.2 kB / 370.3 MB, free: 376 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.268e-05/0.1404, allocations: 16.62 kB / 370.3 MB, free: 356 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.1404, allocations: 59.16 kB / 370.4 MB, free: 288 kB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 3.126e-06/0.1405, allocations: 0 / 370.4 MB, free: 288 kB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.1601/0.3005, allocations: 1.865 MB / 372.2 MB, free: 25.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/0.3007, allocations: 0.8259 MB / 373.1 MB, free: 24.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008152/0.3016, allocations: 0.6615 MB / 373.7 MB, free: 23.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.596e-05/0.3016, allocations: 47.83 kB / 373.8 MB, free: 23.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.3019, allocations: 352.4 kB / 374.1 MB, free: 23.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.302, allocations: 265 kB / 374.4 MB, free: 23.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/0.3023, allocations: 155.1 kB / 374.5 MB, free: 23.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.077e-05/0.3023, allocations: 332.5 kB / 374.9 MB, free: 23.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007701/0.3031, allocations: 292.3 kB / 375.1 MB, free: 23.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008652/0.304, allocations: 0.5786 MB / 375.7 MB, free: 22.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.3054, allocations: 0.7327 MB / 376.5 MB, free: 22.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3054, allocations: 3.609 kB / 376.5 MB, free: 22.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002693/0.3081, allocations: 1.149 MB / 377.6 MB, free: 21.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.3082, allocations: 84.47 kB / 377.7 MB, free: 21.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3082, allocations: 0 / 377.7 MB, free: 21.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006656/0.3089, allocations: 238 kB / 377.9 MB, free: 21.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006744/0.3096, allocations: 160.4 kB / 378.1 MB, free: 21.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006383/0.316, allocations: 6.926 MB / 385 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008993/0.3169, allocations: 107.2 kB / 385.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.3169, allocations: 25.95 kB / 385.1 MB, free: 15.36 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.0002998/0.3173, allocations: 226.4 kB / 385.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.3174, allocations: 89.75 kB / 385.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.3176, allocations: 98.8 kB / 385.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3176, allocations: 7.797 kB / 385.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.3176, allocations: 1.438 kB / 385.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002503/0.3201, allocations: 1.298 MB / 386.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003941/0.3241, allocations: 2.014 MB / 388.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3241, allocations: 0 / 388.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007393/0.3248, allocations: 150.5 kB / 389 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005251/0.3254, allocations: 199.9 kB / 389.2 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.771e-05/0.3254, allocations: 14.67 kB / 389.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00537/0.3308, allocations: 5.353 MB / 394.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3308, allocations: 4.062 kB / 394.6 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003356/0.3342, allocations: 1.47 MB / 396 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003375/0.3345, allocations: 247.1 kB / 396.3 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.3347, allocations: 27.02 kB / 396.3 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007015/0.3354, allocations: 56.55 kB / 396.4 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.3356, allocations: 71.98 kB / 396.4 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.223e-05/0.3356, allocations: 16.91 kB / 396.5 MB, free: 7.562 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005405/0.3362, allocations: 485.2 kB / 396.9 MB, free: 7.289 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3362, allocations: 0 / 396.9 MB, free: 7.289 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008974/0.3371, allocations: 289.2 kB / 397.2 MB, free: 7.246 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.000163/0.3372, allocations: 125.1 kB / 397.3 MB, free: 7.137 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002342/0.3396, allocations: 1.437 MB / 398.8 MB, free: 6.086 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3396, allocations: 3.969 kB / 398.8 MB, free: 6.086 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.3409, allocations: 0.7915 MB / 399.6 MB, free: 5.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009714/0.3419, allocations: 243.5 kB / 399.8 MB, free: 5.387 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.3444, allocations: 1.698 MB / 401.5 MB, free: 4.309 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.3447, allocations: 0.9568 MB / 402.5 MB, free: 3.496 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.345, allocations: 74.89 kB / 402.5 MB, free: 3.48 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.345, allocations: 0 / 402.5 MB, free: 3.48 MB / 302.1 MB Notification: Performance of Templates: time 0.02468/0.3696, allocations: 23.45 MB / 426 MB, free: 13.11 MB / 334.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/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