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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001249/0.002266, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000672/0.000672, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008909/0.001563, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.041/1.041, allocations: 173.4 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07958/1.12, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] 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=2000,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=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635e-05/1.787e-05, allocations: 2.875 kB / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004245/0.004263, allocations: 5.163 MB / 244.7 MB, free: 14 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.006218, allocations: 1.397 MB / 246.1 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/0.006454, allocations: 11.94 kB / 246.1 MB, free: 12.58 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.00671, allocations: 174.5 kB / 246.3 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004293/0.007139, allocations: 364.8 kB / 246.6 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.007453, allocations: 243.5 kB / 246.9 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009927/0.008446, allocations: 1.28 MB / 248.2 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002716/0.008718, allocations: 248.5 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006616/0.009379, allocations: 0.8388 MB / 249.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.009718, allocations: 406.9 kB / 249.6 MB, free: 9.016 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.009824, allocations: 108 kB / 249.7 MB, free: 8.91 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.009926, allocations: 108 kB / 249.8 MB, free: 8.805 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.66e-05/0.01002, allocations: 167.4 kB / 250 MB, free: 8.641 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.01026, allocations: 323.4 kB / 250.3 MB, free: 8.324 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005322/0.01079, allocations: 0.7395 MB / 251.1 MB, free: 7.582 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.691e-05/0.01081, allocations: 0 / 251.1 MB, free: 7.582 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01081, allocations: 0 / 251.1 MB, free: 7.582 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.221e-05/0.01083, allocations: 4 kB / 251.1 MB, free: 7.578 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.001413/0.01224, allocations: 1.489 MB / 252.6 MB, free: 6.039 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.627e-05/0.01227, allocations: 8.031 kB / 252.6 MB, free: 6.031 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.0124, allocations: 132.8 kB / 252.7 MB, free: 5.902 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.01283, allocations: 402 kB / 253.1 MB, free: 5.484 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.01299, allocations: 297.2 kB / 253.4 MB, free: 5.141 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.045e-05/0.01306, allocations: 72.38 kB / 253.4 MB, free: 5.07 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009978/0.01406, allocations: 1.437 MB / 254.9 MB, free: 3.344 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.01407, allocations: 4.188 kB / 254.9 MB, free: 3.34 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/0.01411, allocations: 36.12 kB / 254.9 MB, free: 3.305 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.01412, allocations: 12 kB / 254.9 MB, free: 3.293 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002749/0.01439, allocations: 214.2 kB / 255.1 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.01593, allocations: 1.099 MB / 256.2 MB, free: 1.969 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/0.01638, allocations: 363.3 kB / 256.6 MB, free: 1.602 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.01657, allocations: 171.3 kB / 256.8 MB, free: 1.43 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.183e-05/0.01661, allocations: 16.64 kB / 256.8 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.01664, allocations: 47.22 kB / 256.8 MB, free: 1.359 MB / 250.7 MB Notification: Performance of pre-optimization done (n=77): time 4.509e-06/0.01664, allocations: 0 / 256.8 MB, free: 1.359 MB / 250.7 MB Notification: Performance of matching and sorting (n=77): time 0.001439/0.01808, allocations: 0.8286 MB / 257.7 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.01811, allocations: 68.06 kB / 257.7 MB, free: 444 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.01841, allocations: 0.5078 MB / 258.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.01846, allocations: 41.7 kB / 258.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.01857, allocations: 271.1 kB / 258.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.0187, allocations: 277.5 kB / 258.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.01884, allocations: 158.5 kB / 259 MB, free: 15.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.01896, allocations: 398.5 kB / 259.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.01909, allocations: 163.1 kB / 259.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004633/0.01956, allocations: 1.18 MB / 260.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.01987, allocations: 374 kB / 261.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.01987, allocations: 4 kB / 261.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.000693/0.02056, allocations: 0.6843 MB / 261.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.047e-05/0.02061, allocations: 89.09 kB / 261.8 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.02062, allocations: 0 / 261.8 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000335/0.02095, allocations: 171.3 kB / 262 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.02136, allocations: 183.8 kB / 262.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00293/0.02429, allocations: 5.315 MB / 267.5 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.02458, allocations: 83.58 kB / 267.6 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.02461, allocations: 20 kB / 267.6 MB, free: 5.734 MB / 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.0001498/0.02476, allocations: 165.7 kB / 267.8 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-05/0.02484, allocations: 83.84 kB / 267.8 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.622e-05/0.02493, allocations: 92.08 kB / 267.9 MB, free: 5.383 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.02493, allocations: 8 kB / 267.9 MB, free: 5.375 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.02494, allocations: 0 / 267.9 MB, free: 5.375 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006629/0.0256, allocations: 0.7996 MB / 268.7 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.02678, allocations: 0.9834 MB / 269.7 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.02678, allocations: 0 / 269.7 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004005/0.02718, allocations: 191.7 kB / 269.9 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.02733, allocations: 95.28 kB / 270 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000256/0.02759, allocations: 138.4 kB / 270.1 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.02761, allocations: 24.11 kB / 270.2 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.02978, allocations: 4.037 MB / 274.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.02978, allocations: 0 / 274.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000798/0.03058, allocations: 0.7244 MB / 274.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.307e-05/0.03064, allocations: 20 kB / 274.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.03089, allocations: 39.97 kB / 275 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.4e-05/0.03099, allocations: 72.52 kB / 275.1 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.03101, allocations: 15.94 kB / 275.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001656/0.03117, allocations: 260.5 kB / 275.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03117, allocations: 0 / 275.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004546/0.03163, allocations: 295.7 kB / 275.6 MB, free: 13.26 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.000109/0.03173, allocations: 104.4 kB / 275.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007448/0.03248, allocations: 1.077 MB / 276.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.788e-05/0.0325, allocations: 16.11 kB / 276.8 MB, free: 11.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004315/0.03293, allocations: 0.5952 MB / 277.4 MB, free: 11.31 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005252/0.03345, allocations: 326.7 kB / 277.7 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008892/0.04235, allocations: 1.402 MB / 279.1 MB, free: 9.555 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.04245, allocations: 173.3 kB / 279.3 MB, free: 9.367 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002415/0.04269, allocations: 102.4 kB / 279.4 MB, free: 9.262 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005358/0.04323, allocations: 389 kB / 279.8 MB, free: 8.883 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.04323, allocations: 0 / 279.8 MB, free: 8.883 MB / 282.7 MB Notification: Performance of Templates: time 0.1055/0.1487, allocations: 22.6 MB / 302.4 MB, free: 36.88 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.310095340013504]