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.001518/0.001518, allocations: 85.95 kB / 23 MB, free: 1.504 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.001407/0.001407, allocations: 172.1 kB / 26.39 MB, free: 8 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 0.9479/0.9479, allocations: 158.6 MB / 188.3 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] 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.583e-06/1.583e-06, allocations: 3.938 kB / 252.2 MB, free: 7.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.562e-05, allocations: 6.25 kB / 252.3 MB, free: 7.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006475/0.006501, allocations: 5.096 MB / 257.3 MB, free: 2.223 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002825/0.009325, allocations: 1.348 MB / 258.7 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004149/0.00974, allocations: 15.88 kB / 258.7 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004269/0.01017, allocations: 166.5 kB / 258.9 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007895/0.01096, allocations: 372.8 kB / 259.2 MB, free: 324 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.01145, allocations: 243.5 kB / 259.5 MB, free: 80 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.01288, allocations: 1.273 MB / 260.7 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004199/0.0133, allocations: 238.6 kB / 261 MB, free: 14.56 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007479/0.01405, allocations: 0.7056 MB / 261.7 MB, free: 13.85 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003648/0.01441, allocations: 394.9 kB / 262.1 MB, free: 13.46 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.01452, allocations: 108 kB / 262.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.01463, allocations: 108 kB / 262.3 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.01476, allocations: 243.1 kB / 262.5 MB, free: 13.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000278/0.01504, allocations: 403.1 kB / 262.9 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006251/0.01566, allocations: 0.8213 MB / 263.7 MB, free: 11.8 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.01567, allocations: 3.938 kB / 263.7 MB, free: 11.79 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01567, allocations: 0 / 263.7 MB, free: 11.79 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.01568, allocations: 0 / 263.7 MB, free: 11.79 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.001384/0.01706, allocations: 1.434 MB / 265.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.0171, allocations: 11.98 kB / 265.2 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.01728, allocations: 168.3 kB / 265.4 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005067/0.01778, allocations: 492.8 kB / 265.8 MB, free: 9.613 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.01793, allocations: 297.2 kB / 266.1 MB, free: 9.27 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.01e-05/0.01801, allocations: 80.36 kB / 266.2 MB, free: 9.191 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000873/0.01888, allocations: 1.503 MB / 267.7 MB, free: 7.363 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.0189, allocations: 4.188 kB / 267.7 MB, free: 7.359 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.01895, allocations: 40.11 kB / 267.7 MB, free: 7.32 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.01895, allocations: 12 kB / 267.8 MB, free: 7.309 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003189/0.01927, allocations: 246.2 kB / 268 MB, free: 7.066 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/0.02104, allocations: 1.467 MB / 269.5 MB, free: 5.57 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004936/0.02153, allocations: 414.6 kB / 269.9 MB, free: 5.152 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.02175, allocations: 194.1 kB / 270.1 MB, free: 4.957 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.02179, allocations: 16.66 kB / 270.1 MB, free: 4.938 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.02182, allocations: 50.05 kB / 270.1 MB, free: 4.879 MB / 250.7 MB Notification: Performance of pre-optimization done (n=77): time 1.853e-06/0.02182, allocations: 0 / 270.1 MB, free: 4.879 MB / 250.7 MB Notification: Performance of matching and sorting (n=77): time 0.001765/0.02358, allocations: 0.9758 MB / 271.1 MB, free: 3.883 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002368/0.02382, allocations: 0.8234 MB / 271.9 MB, free: 2.859 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.0242, allocations: 0.593 MB / 272.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/0.02425, allocations: 45.7 kB / 272.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.02446, allocations: 427.8 kB / 273 MB, free: 1.777 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.02462, allocations: 281.5 kB / 273.3 MB, free: 1.5 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.02477, allocations: 152.3 kB / 273.4 MB, free: 1.344 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.02494, allocations: 0.5779 MB / 274 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.0251, allocations: 179 kB / 274.2 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000532/0.02563, allocations: 1.277 MB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.02598, allocations: 406.6 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.02598, allocations: 0 / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009118/0.02689, allocations: 0.8258 MB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.144e-05/0.02694, allocations: 89.09 kB / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.02694, allocations: 0 / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003604/0.0273, allocations: 182.6 kB / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.02762, allocations: 135.8 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003852/0.03147, allocations: 7.68 MB / 284.7 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003526/0.03182, allocations: 87.52 kB / 284.8 MB, free: 4.973 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.03185, allocations: 16 kB / 284.8 MB, free: 4.957 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.0001807/0.03203, allocations: 208.5 kB / 285 MB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.03214, allocations: 119.4 kB / 285.2 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.728e-05/0.03223, allocations: 96.25 kB / 285.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.03223, allocations: 8 kB / 285.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.03224, allocations: 3.984 kB / 285.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008041/0.03304, allocations: 0.8899 MB / 286.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.03452, allocations: 1.288 MB / 287.4 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.03452, allocations: 0 / 287.4 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.03486, allocations: 139.8 kB / 287.6 MB, free: 2.035 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002894/0.03515, allocations: 158.8 kB / 287.7 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.03518, allocations: 12 kB / 287.7 MB, free: 1.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002819/0.038, allocations: 5.842 MB / 293.6 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.038, allocations: 4.094 kB / 293.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.03908, allocations: 0.881 MB / 294.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.03928, allocations: 167.2 kB / 294.6 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.458e-05/0.03934, allocations: 16 kB / 294.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.03964, allocations: 47.89 kB / 294.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.03975, allocations: 68.53 kB / 294.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.03977, allocations: 16 kB / 294.8 MB, free: 10.44 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002159/0.03999, allocations: 386.8 kB / 295.2 MB, free: 10.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03999, allocations: 0 / 295.2 MB, free: 10.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005425/0.04053, allocations: 295.7 kB / 295.4 MB, free: 9.777 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.0001346/0.04066, allocations: 119.2 kB / 295.6 MB, free: 9.652 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009342/0.0416, allocations: 1.338 MB / 296.9 MB, free: 8.188 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.0416, allocations: 4 kB / 296.9 MB, free: 8.184 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005501/0.04215, allocations: 0.7753 MB / 297.7 MB, free: 7.352 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005835/0.04274, allocations: 251 kB / 297.9 MB, free: 7.105 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.04458, allocations: 1.486 MB / 299.4 MB, free: 5.578 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.04469, allocations: 169.3 kB / 299.6 MB, free: 5.395 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002573/0.04495, allocations: 94.3 kB / 299.7 MB, free: 5.301 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005821/0.04553, allocations: 441.9 kB / 300.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of SimCode: time 1.232e-06/0.04554, allocations: 0 / 300.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of Templates: time 0.02148/0.06701, allocations: 21.19 MB / 321.3 MB, free: 15.68 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","",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.4652626952156425]