Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002373/0.002373, allocations: 99.53 kB / 21.73 MB, free: 2.691 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002674/0.002674, allocations: 168.6 kB / 25.03 MB, free: 8.41 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.226e-05/3.399e-05, allocations: 2.312 kB / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.008196/0.00823, allocations: 5.135 MB / 255.5 MB, free: 2.676 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003537/0.01177, allocations: 1.348 MB / 256.9 MB, free: 1.316 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008064/0.01257, allocations: 15.94 kB / 256.9 MB, free: 1.301 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006407/0.01321, allocations: 166.4 kB / 257 MB, free: 1.137 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.01452, allocations: 360.9 kB / 257.4 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008841/0.0154, allocations: 247.5 kB / 257.6 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002261/0.01766, allocations: 1.269 MB / 258.9 MB, free: 15.26 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007308/0.01839, allocations: 230.7 kB / 259.1 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001324/0.01972, allocations: 0.7095 MB / 259.8 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006762/0.02039, allocations: 402.8 kB / 260.2 MB, free: 13.92 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001902/0.02058, allocations: 108 kB / 260.3 MB, free: 13.81 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002248/0.02081, allocations: 108 kB / 260.4 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.02108, allocations: 243.2 kB / 260.7 MB, free: 13.47 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005905/0.02167, allocations: 403.1 kB / 261.1 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.02346, allocations: 1.316 MB / 262.4 MB, free: 11.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.02347, allocations: 0 / 262.4 MB, free: 11.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.02347, allocations: 0 / 262.4 MB, free: 11.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.02349, allocations: 0 / 262.4 MB, free: 11.75 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.003455/0.02695, allocations: 1.485 MB / 263.9 MB, free: 10.21 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.02701, allocations: 11.98 kB / 263.9 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003704/0.02738, allocations: 168.3 kB / 264 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.02855, allocations: 0.541 MB / 264.6 MB, free: 9.465 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003317/0.02888, allocations: 297.2 kB / 264.9 MB, free: 9.117 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.02901, allocations: 72.38 kB / 264.9 MB, free: 9.047 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/0.0313, allocations: 1.725 MB / 266.7 MB, free: 7 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.03133, allocations: 8.156 kB / 266.7 MB, free: 6.992 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.214e-05/0.03141, allocations: 32.12 kB / 266.7 MB, free: 6.961 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.03143, allocations: 16 kB / 266.7 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.03285, allocations: 0.5751 MB / 267.3 MB, free: 6.371 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004677/0.03753, allocations: 1.851 MB / 269.1 MB, free: 4.484 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002329/0.03986, allocations: 0.7212 MB / 269.9 MB, free: 3.746 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000911/0.04077, allocations: 366.1 kB / 270.2 MB, free: 3.383 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.268e-05/0.04085, allocations: 20.66 kB / 270.2 MB, free: 3.359 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.268e-05/0.04091, allocations: 53.98 kB / 270.3 MB, free: 3.297 MB / 250.7 MB Notification: Performance of pre-optimization done (n=77): time 2.956e-06/0.04092, allocations: 0 / 270.3 MB, free: 3.297 MB / 250.7 MB Notification: Performance of matching and sorting (n=77): time 0.005956/0.04687, allocations: 1.441 MB / 271.7 MB, free: 1.84 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006446/0.04752, allocations: 0.8234 MB / 272.6 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.04879, allocations: 0.7847 MB / 273.3 MB, free: 20 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001626/0.04895, allocations: 41.7 kB / 273.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004499/0.0494, allocations: 443.9 kB / 273.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003435/0.04974, allocations: 289.5 kB / 274.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003177/0.05006, allocations: 168.3 kB / 274.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004243/0.05049, allocations: 0.6093 MB / 274.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007546/0.05124, allocations: 343 kB / 275.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002018/0.05326, allocations: 1.482 MB / 276.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.05473, allocations: 0.7212 MB / 277.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.05474, allocations: 0 / 277.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002972/0.05771, allocations: 1.181 MB / 278.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.754e-05/0.05781, allocations: 90.95 kB / 278.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.05782, allocations: 0 / 278.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.05884, allocations: 270.5 kB / 279 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006718/0.05951, allocations: 131.9 kB / 279.1 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.07091, allocations: 8.533 MB / 287.6 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.07217, allocations: 91.64 kB / 287.7 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.801e-05/0.07224, allocations: 20 kB / 287.7 MB, free: 0.6367 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.000517/0.07275, allocations: 272.4 kB / 288 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/0.07298, allocations: 111.5 kB / 288.1 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.0732, allocations: 96.06 kB / 288.2 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.07321, allocations: 4 kB / 288.2 MB, free: 152 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.07322, allocations: 4.188 kB / 288.2 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002504/0.07572, allocations: 1.206 MB / 289.4 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00427/0.07999, allocations: 1.85 MB / 291.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.07999, allocations: 0 / 291.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007077/0.0807, allocations: 147.8 kB / 291.4 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007951/0.0815, allocations: 218.9 kB / 291.6 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.157e-05/0.08155, allocations: 12 kB / 291.6 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009012/0.09056, allocations: 6.531 MB / 298.2 MB, free: 5.629 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.09056, allocations: 0 / 298.2 MB, free: 5.629 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004223/0.09478, allocations: 1.428 MB / 299.6 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005309/0.09532, allocations: 163.2 kB / 299.7 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.09543, allocations: 20 kB / 299.8 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006426/0.09608, allocations: 47.95 kB / 299.8 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002317/0.09631, allocations: 76.41 kB / 299.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.09635, allocations: 16.06 kB / 299.9 MB, free: 3.855 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007319/0.09708, allocations: 0.5146 MB / 300.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09708, allocations: 0 / 300.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009785/0.09806, allocations: 295.7 kB / 300.7 MB, free: 3.055 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.0002281/0.09829, allocations: 119.2 kB / 300.8 MB, free: 2.926 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002704/0.101, allocations: 1.658 MB / 302.5 MB, free: 1.141 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.101, allocations: 4 kB / 302.5 MB, free: 1.137 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001586/0.1026, allocations: 0.9394 MB / 303.4 MB, free: 144 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.1038, allocations: 239 kB / 303.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/0.1072, allocations: 1.576 MB / 305.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.1076, allocations: 362.7 kB / 305.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004715/0.1081, allocations: 102.3 kB / 305.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.1083, allocations: 64.48 kB / 305.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of SimCode: time 1.854e-06/0.1083, allocations: 4 kB / 305.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of Templates: time 0.03884/0.1472, allocations: 19.49 MB / 325.2 MB, free: 10.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.81240502698347]