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.0009699/0.0009699, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.000963/0.000963, allocations: 170.1 kB / 25.7 MB, free: 8.398 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.8695/0.8695, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.703e-06/1.703e-06, allocations: 0 / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.684e-05, allocations: 2.312 kB / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.007362/0.007388, allocations: 5.111 MB / 256.6 MB, free: 2.133 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003733/0.01112, allocations: 1.414 MB / 258 MB, free: 0.707 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004718/0.01159, allocations: 11.94 kB / 258.1 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004637/0.01206, allocations: 174.5 kB / 258.2 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006641/0.01272, allocations: 368.8 kB / 258.6 MB, free: 164 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.01316, allocations: 243.5 kB / 258.8 MB, free: 15.92 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.01445, allocations: 1.268 MB / 260.1 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004022/0.01486, allocations: 240.6 kB / 260.3 MB, free: 14.4 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007901/0.01565, allocations: 0.7172 MB / 261 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004141/0.01606, allocations: 398.9 kB / 261.4 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.01617, allocations: 108 kB / 261.5 MB, free: 13.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.0163, allocations: 112 kB / 261.7 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.01642, allocations: 235.2 kB / 261.9 MB, free: 12.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003003/0.01672, allocations: 399.1 kB / 262.3 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006731/0.01739, allocations: 0.8213 MB / 263.1 MB, free: 11.63 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.0174, allocations: 0 / 263.1 MB, free: 11.63 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.073e-06/0.0174, allocations: 0 / 263.1 MB, free: 11.63 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.01741, allocations: 0 / 263.1 MB, free: 11.63 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.001269/0.01868, allocations: 1.282 MB / 264.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.01871, allocations: 15.98 kB / 264.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.01885, allocations: 136.8 kB / 264.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.0193, allocations: 394 kB / 264.9 MB, free: 9.734 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.01944, allocations: 297.2 kB / 265.2 MB, free: 9.391 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.883e-05/0.01952, allocations: 80.38 kB / 265.3 MB, free: 9.312 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007985/0.02032, allocations: 1.425 MB / 266.7 MB, free: 7.598 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.02033, allocations: 192 / 266.7 MB, free: 7.598 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.02037, allocations: 32.12 kB / 266.7 MB, free: 7.566 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.02038, allocations: 16 kB / 266.7 MB, free: 7.551 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/0.02066, allocations: 214.2 kB / 267 MB, free: 7.34 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.02222, allocations: 1.099 MB / 268.1 MB, free: 6.227 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000428/0.02265, allocations: 360.6 kB / 268.4 MB, free: 5.863 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.02284, allocations: 167.4 kB / 268.6 MB, free: 5.695 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-05/0.02289, allocations: 20.64 kB / 268.6 MB, free: 5.676 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.02291, allocations: 47.22 kB / 268.6 MB, free: 5.621 MB / 250.7 MB Notification: Performance of pre-optimization done (n=77): time 1.673e-06/0.02292, allocations: 3.938 kB / 268.6 MB, free: 5.617 MB / 250.7 MB Notification: Performance of matching and sorting (n=77): time 0.001559/0.02447, allocations: 0.8286 MB / 269.5 MB, free: 4.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002398/0.02471, allocations: 0.8195 MB / 270.3 MB, free: 3.754 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.02502, allocations: 0.5117 MB / 270.8 MB, free: 3.234 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/0.02507, allocations: 41.7 kB / 270.8 MB, free: 3.188 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.02525, allocations: 267 kB / 271.1 MB, free: 2.922 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/0.02546, allocations: 281.5 kB / 271.4 MB, free: 2.645 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.02568, allocations: 150.6 kB / 271.5 MB, free: 2.492 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.02584, allocations: 394.5 kB / 271.9 MB, free: 2.098 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.02607, allocations: 171.1 kB / 272.1 MB, free: 1.914 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007012/0.02677, allocations: 1.176 MB / 273.3 MB, free: 444 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/0.02724, allocations: 378 kB / 273.6 MB, free: 40 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.02724, allocations: 0 / 273.6 MB, free: 40 kB / 250.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001196/0.02844, allocations: 0.6882 MB / 274.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.447e-05/0.02849, allocations: 89.11 kB / 274.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.0285, allocations: 3.984 kB / 274.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005106/0.02901, allocations: 163.3 kB / 274.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004751/0.02949, allocations: 135.8 kB / 274.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004367/0.03385, allocations: 5.309 MB / 280 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000496/0.03435, allocations: 83.58 kB / 280.1 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.0344, allocations: 20 kB / 280.1 MB, free: 9.113 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.0002291/0.03463, allocations: 165.7 kB / 280.3 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.03477, allocations: 83.91 kB / 280.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.0349, allocations: 96.06 kB / 280.4 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.03491, allocations: 8 kB / 280.4 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.03492, allocations: 3.938 kB / 280.5 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001029/0.03595, allocations: 0.7957 MB / 281.2 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.03791, allocations: 0.9796 MB / 282.2 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.03791, allocations: 0 / 282.2 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005185/0.03843, allocations: 143.8 kB / 282.4 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003483/0.03878, allocations: 138.4 kB / 282.5 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.24e-05/0.03882, allocations: 16 kB / 282.5 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003158/0.04198, allocations: 4.04 MB / 286.6 MB, free: 2.223 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.04198, allocations: 0 / 286.6 MB, free: 2.223 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008239/0.0428, allocations: 0.7165 MB / 287.3 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.04298, allocations: 103.2 kB / 287.4 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.04304, allocations: 20 kB / 287.4 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.0433, allocations: 35.97 kB / 287.4 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.04339, allocations: 72.7 kB / 287.5 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.04341, allocations: 16 kB / 287.5 MB, free: 1.238 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001654/0.04358, allocations: 248.5 kB / 287.8 MB, free: 1 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04358, allocations: 4 kB / 287.8 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004754/0.04405, allocations: 291.7 kB / 288.1 MB, free: 0.7109 MB / 266.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.0001189/0.04417, allocations: 116.4 kB / 288.2 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007792/0.04495, allocations: 1.08 MB / 289.2 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.04496, allocations: 12.12 kB / 289.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004364/0.04539, allocations: 0.5873 MB / 289.8 MB, free: 14.76 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.04589, allocations: 238.8 kB / 290.1 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.04756, allocations: 1.398 MB / 291.5 MB, free: 13.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.683e-05/0.04766, allocations: 165.3 kB / 291.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000231/0.04789, allocations: 106.3 kB / 291.7 MB, free: 12.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006524/0.04854, allocations: 381 kB / 292.1 MB, free: 12.43 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.04854, allocations: 0 / 292.1 MB, free: 12.43 MB / 282.7 MB Notification: Performance of Templates: time 0.02721/0.07576, allocations: 20.6 MB / 312.7 MB, free: 7.844 MB / 298.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.2313940529711545]