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.00145/0.00145, allocations: 84.3 kB / 22.21 MB, free: 2.289 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.00111/0.00111, allocations: 169.1 kB / 25.6 MB, free: 8.602 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.8816/0.8816, allocations: 158.6 MB / 187.5 MB, free: 2.805 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.553e-06/1.553e-06, allocations: 0 / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.358e-05/1.513e-05, allocations: 2.312 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006412/0.006427, allocations: 5.099 MB / 256.6 MB, free: 2.129 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002884/0.009312, allocations: 1.356 MB / 257.9 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003921/0.009704, allocations: 15.88 kB / 257.9 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000443/0.01015, allocations: 170.5 kB / 258.1 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007595/0.01091, allocations: 360.8 kB / 258.5 MB, free: 228 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005141/0.01142, allocations: 247.6 kB / 258.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001431/0.01285, allocations: 1.273 MB / 260 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003985/0.01325, allocations: 234.6 kB / 260.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009148/0.01417, allocations: 0.7056 MB / 260.9 MB, free: 13.76 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005762/0.01474, allocations: 398.9 kB / 261.3 MB, free: 13.37 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.01492, allocations: 108 kB / 261.4 MB, free: 13.26 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.01511, allocations: 112 kB / 261.5 MB, free: 13.15 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.01529, allocations: 239.1 kB / 261.7 MB, free: 12.92 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004239/0.01571, allocations: 399.1 kB / 262.1 MB, free: 12.53 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008812/0.01659, allocations: 0.8174 MB / 262.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.0166, allocations: 0 / 262.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.0166, allocations: 0 / 262.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.01661, allocations: 0 / 262.9 MB, free: 11.71 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.002025/0.01864, allocations: 1.434 MB / 264.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.01868, allocations: 15.98 kB / 264.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002411/0.01892, allocations: 172.2 kB / 264.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007065/0.01963, allocations: 0.4968 MB / 265.1 MB, free: 9.504 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/0.01985, allocations: 297.2 kB / 265.4 MB, free: 9.16 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.01997, allocations: 72.38 kB / 265.4 MB, free: 9.09 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.02127, allocations: 1.507 MB / 266.9 MB, free: 7.258 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.02129, allocations: 192 / 266.9 MB, free: 7.258 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.02142, allocations: 32.12 kB / 267 MB, free: 7.227 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.02144, allocations: 16 kB / 267 MB, free: 7.211 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005132/0.02196, allocations: 250.1 kB / 267.2 MB, free: 6.965 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002663/0.02462, allocations: 1.467 MB / 268.7 MB, free: 5.469 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008799/0.0255, allocations: 406.6 kB / 269.1 MB, free: 5.059 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.02577, allocations: 190.2 kB / 269.3 MB, free: 4.867 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.09e-05/0.02581, allocations: 16.66 kB / 269.3 MB, free: 4.848 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.02584, allocations: 54.05 kB / 269.3 MB, free: 4.785 MB / 250.7 MB Notification: Performance of pre-optimization done (n=77): time 1.863e-06/0.02584, allocations: 0 / 269.3 MB, free: 4.785 MB / 250.7 MB Notification: Performance of matching and sorting (n=77): time 0.001696/0.02754, allocations: 0.972 MB / 270.3 MB, free: 3.793 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002243/0.02776, allocations: 0.8195 MB / 271.1 MB, free: 2.773 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003827/0.02814, allocations: 0.6008 MB / 271.7 MB, free: 2.16 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/0.02818, allocations: 45.7 kB / 271.8 MB, free: 2.109 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.02839, allocations: 423.8 kB / 272.2 MB, free: 1.688 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.02853, allocations: 283.4 kB / 272.5 MB, free: 1.41 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.02867, allocations: 156.3 kB / 272.6 MB, free: 1.25 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.02883, allocations: 0.5779 MB / 273.2 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.02898, allocations: 179 kB / 273.4 MB, free: 480 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005198/0.0295, allocations: 1.279 MB / 274.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.02984, allocations: 398.6 kB / 275 MB, free: 14.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.02984, allocations: 0 / 275 MB, free: 14.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009317/0.03078, allocations: 0.8219 MB / 275.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/0.03082, allocations: 93.16 kB / 276 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.03082, allocations: 0 / 276 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003493/0.03117, allocations: 186.6 kB / 276.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.03147, allocations: 143.8 kB / 276.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004254/0.03572, allocations: 7.672 MB / 283.9 MB, free: 4.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/0.03602, allocations: 91.55 kB / 284 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.03605, allocations: 20 kB / 284.1 MB, free: 4.855 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.0001638/0.03622, allocations: 208.5 kB / 284.3 MB, free: 4.641 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.03632, allocations: 115.4 kB / 284.4 MB, free: 4.527 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.989e-05/0.03641, allocations: 104 kB / 284.5 MB, free: 4.422 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.03641, allocations: 4.188 kB / 284.5 MB, free: 4.418 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.03642, allocations: 8 kB / 284.5 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007967/0.03721, allocations: 0.886 MB / 285.4 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.0386, allocations: 1.284 MB / 286.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.0386, allocations: 0 / 286.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.03892, allocations: 139.8 kB / 286.8 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002669/0.03919, allocations: 158.9 kB / 286.9 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.03922, allocations: 16 kB / 287 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002969/0.04219, allocations: 5.846 MB / 292.8 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.04219, allocations: 0 / 292.8 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009423/0.04313, allocations: 0.8811 MB / 293.7 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.04331, allocations: 163.2 kB / 293.9 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.803e-05/0.04337, allocations: 23.98 kB / 293.9 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.04363, allocations: 43.91 kB / 293.9 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.942e-05/0.04372, allocations: 68.53 kB / 294 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.04374, allocations: 19.98 kB / 294 MB, free: 10.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002058/0.04395, allocations: 386.9 kB / 294.4 MB, free: 9.961 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.04395, allocations: 0 / 294.4 MB, free: 9.961 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004575/0.0444, allocations: 295.7 kB / 294.7 MB, free: 9.672 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.000104/0.04451, allocations: 123.3 kB / 294.8 MB, free: 9.543 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.04554, allocations: 1.33 MB / 296.1 MB, free: 8.086 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.04555, allocations: 0 / 296.1 MB, free: 8.086 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005119/0.04606, allocations: 0.7829 MB / 296.9 MB, free: 7.246 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005359/0.04659, allocations: 246.8 kB / 297.1 MB, free: 7.004 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.04827, allocations: 1.482 MB / 298.6 MB, free: 5.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.04838, allocations: 169.3 kB / 298.8 MB, free: 5.297 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002059/0.04858, allocations: 102.3 kB / 298.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005519/0.04913, allocations: 437.9 kB / 299.3 MB, free: 4.766 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.04913, allocations: 3.938 kB / 299.3 MB, free: 4.762 MB / 282.7 MB Notification: Performance of Templates: time 0.02132/0.07045, allocations: 20.77 MB / 320.1 MB, free: 0 / 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.2183114918880165]