Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007297/0.0007297, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001056/0.001785, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001041/0.001041, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.0024, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9809/0.9809, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07869/1.06, allocations: 53.86 MB / 243.9 MB, free: 14.88 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.118e-05, allocations: 5.406 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005751/0.005772, allocations: 5.19 MB / 250.4 MB, free: 8.375 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.008263, allocations: 1.405 MB / 251.8 MB, free: 6.961 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003024/0.008565, allocations: 15.94 kB / 251.8 MB, free: 6.945 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.008905, allocations: 178.4 kB / 252 MB, free: 6.77 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006179/0.009523, allocations: 364.8 kB / 252.3 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.009949, allocations: 243.5 kB / 252.6 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.01128, allocations: 1.273 MB / 253.8 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004491/0.01173, allocations: 252.5 kB / 254.1 MB, free: 4.633 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.0129, allocations: 0.8427 MB / 254.9 MB, free: 3.773 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005465/0.01344, allocations: 398.9 kB / 255.3 MB, free: 3.383 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.01361, allocations: 108 kB / 255.4 MB, free: 3.277 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.0138, allocations: 108 kB / 255.5 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.01395, allocations: 167.4 kB / 255.7 MB, free: 3.008 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003761/0.01433, allocations: 323.4 kB / 256 MB, free: 2.691 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.01547, allocations: 0.7396 MB / 256.8 MB, free: 1.949 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.364e-05/0.01549, allocations: 0 / 256.8 MB, free: 1.949 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01549, allocations: 0 / 256.8 MB, free: 1.949 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.126e-05/0.01551, allocations: 0 / 256.8 MB, free: 1.949 MB / 250.7 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.00216/0.01767, allocations: 1.493 MB / 258.3 MB, free: 420 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.01771, allocations: 8.625 kB / 258.3 MB, free: 412 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002093/0.01792, allocations: 144.7 kB / 258.4 MB, free: 268 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/0.01858, allocations: 391.7 kB / 258.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000216/0.0188, allocations: 297.2 kB / 259.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.01892, allocations: 84.34 kB / 259.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.02033, allocations: 1.437 MB / 260.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.02035, allocations: 192 / 260.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-05/0.02041, allocations: 34.81 kB / 260.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.02043, allocations: 16 kB / 260.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004485/0.02088, allocations: 210.2 kB / 260.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0023/0.02318, allocations: 1.099 MB / 261.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006402/0.02382, allocations: 361.5 kB / 262.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.02411, allocations: 167.3 kB / 262.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.67e-05/0.02417, allocations: 20.64 kB / 262.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.02421, allocations: 51.16 kB / 262.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 2.545e-06/0.02421, allocations: 0 / 262.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.002321/0.02653, allocations: 0.8287 MB / 263.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.02657, allocations: 64.06 kB / 263.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004851/0.02706, allocations: 0.5156 MB / 263.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.73e-05/0.02711, allocations: 45.7 kB / 264 MB, free: 10.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.02729, allocations: 267 kB / 264.2 MB, free: 9.949 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.02748, allocations: 281.5 kB / 264.5 MB, free: 9.672 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.0277, allocations: 146.6 kB / 264.7 MB, free: 9.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.02785, allocations: 398.6 kB / 265.1 MB, free: 9.121 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.02805, allocations: 171.1 kB / 265.2 MB, free: 8.938 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007139/0.02876, allocations: 1.176 MB / 266.4 MB, free: 7.457 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.02908, allocations: 378 kB / 266.8 MB, free: 7.059 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.02908, allocations: 0 / 266.8 MB, free: 7.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0007398/0.02982, allocations: 0.6843 MB / 267.4 MB, free: 6.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.73e-05/0.02987, allocations: 85.17 kB / 267.5 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.02987, allocations: 4 kB / 267.5 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000336/0.03021, allocations: 171.2 kB / 267.7 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.03061, allocations: 184.4 kB / 267.9 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002932/0.03354, allocations: 5.308 MB / 273.2 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.03385, allocations: 91.64 kB / 273.3 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.03388, allocations: 24 kB / 273.3 MB, free: 88 kB / 266.7 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.0004209/0.0343, allocations: 161.7 kB / 273.5 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.079e-05/0.03438, allocations: 87.84 kB / 273.5 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.399e-05/0.03447, allocations: 100.1 kB / 273.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.03447, allocations: 8 kB / 273.7 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.03447, allocations: 0 / 273.7 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006534/0.03513, allocations: 0.788 MB / 274.4 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.03635, allocations: 0.9911 MB / 275.4 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.03636, allocations: 0 / 275.4 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003994/0.03676, allocations: 202 kB / 275.6 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.03691, allocations: 91.33 kB / 275.7 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00026/0.03717, allocations: 142.6 kB / 275.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.03719, allocations: 12 kB / 275.9 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/0.03937, allocations: 4.041 MB / 279.9 MB, free: 9.047 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.03938, allocations: 4.094 kB / 279.9 MB, free: 9.043 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.04043, allocations: 0.7127 MB / 280.6 MB, free: 8.312 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.134e-05/0.04049, allocations: 20 kB / 280.6 MB, free: 8.293 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.04074, allocations: 39.97 kB / 280.7 MB, free: 8.254 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.04087, allocations: 76.45 kB / 280.8 MB, free: 8.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.04089, allocations: 12 kB / 280.8 MB, free: 8.164 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001783/0.04106, allocations: 252.6 kB / 281 MB, free: 7.918 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.04106, allocations: 0 / 281 MB, free: 7.918 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005216/0.04159, allocations: 295.7 kB / 281.3 MB, free: 7.629 MB / 282.7 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.0001277/0.04171, allocations: 116.3 kB / 281.4 MB, free: 7.504 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008016/0.04252, allocations: 1.089 MB / 282.5 MB, free: 6.305 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.105e-05/0.04254, allocations: 15.98 kB / 282.5 MB, free: 6.289 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005174/0.04305, allocations: 0.6396 MB / 283.2 MB, free: 5.609 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.04427, allocations: 2.282 MB / 285.4 MB, free: 2.879 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008883/0.05316, allocations: 1.399 MB / 286.8 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.05327, allocations: 165.5 kB / 287 MB, free: 1.258 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002937/0.05357, allocations: 102.7 kB / 287.1 MB, free: 1.152 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008104/0.05438, allocations: 393 kB / 287.5 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of SimCode: time 1.262e-06/0.05438, allocations: 0 / 287.5 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of Templates: time 0.1096/0.164, allocations: 23.23 MB / 310.7 MB, free: 21.77 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0644233636558056]