Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0006824/0.0006824, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008824/0.001565, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006957/0.0006957, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008378/0.001534, allocations: 455.6 kB / 11.71 MB, free: 2.457 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9197/0.9197, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09273/1.012, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.016e-05, allocations: 10.25 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004168/0.004188, allocations: 5.182 MB / 249.7 MB, free: 9.113 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.005583, allocations: 1.413 MB / 251.1 MB, free: 7.691 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.005766, allocations: 15.88 kB / 251.1 MB, free: 7.676 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.006006, allocations: 162.5 kB / 251.3 MB, free: 7.516 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.00638, allocations: 368.8 kB / 251.6 MB, free: 7.152 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.006646, allocations: 247.5 kB / 251.9 MB, free: 6.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007651/0.007411, allocations: 1.273 MB / 253.2 MB, free: 5.637 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.007664, allocations: 244.6 kB / 253.4 MB, free: 5.383 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006909/0.008355, allocations: 0.8466 MB / 254.2 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.008682, allocations: 398.9 kB / 254.6 MB, free: 4.129 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.008786, allocations: 111.9 kB / 254.7 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.00889, allocations: 108 kB / 254.8 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.008992, allocations: 171.4 kB / 255 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002438/0.009235, allocations: 323.4 kB / 255.3 MB, free: 3.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005467/0.009782, allocations: 0.7395 MB / 256.1 MB, free: 2.688 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.377e-05/0.009796, allocations: 0 / 256.1 MB, free: 2.688 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.009797, allocations: 0 / 256.1 MB, free: 2.688 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.009813, allocations: 0 / 256.1 MB, free: 2.688 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.001362/0.01118, allocations: 1.501 MB / 257.6 MB, free: 1.141 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.735e-05/0.0112, allocations: 8.031 kB / 257.6 MB, free: 1.133 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.01133, allocations: 132.8 kB / 257.7 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000444/0.01177, allocations: 394.1 kB / 258.1 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.01194, allocations: 297.2 kB / 258.4 MB, free: 252 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.44e-05/0.01201, allocations: 76.31 kB / 258.5 MB, free: 176 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008178/0.01283, allocations: 1.437 MB / 259.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.01285, allocations: 4.188 kB / 259.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/0.01289, allocations: 32.12 kB / 259.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.0129, allocations: 12 kB / 259.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/0.01319, allocations: 206.3 kB / 260.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.0147, allocations: 1.107 MB / 261.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004159/0.01512, allocations: 370.9 kB / 261.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.0153, allocations: 174.1 kB / 261.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-05/0.01534, allocations: 12.66 kB / 261.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.01538, allocations: 51.22 kB / 261.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 1.833e-06/0.01538, allocations: 0 / 261.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.001483/0.01686, allocations: 0.8326 MB / 262.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.01689, allocations: 64.06 kB / 262.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.01718, allocations: 0.5078 MB / 263.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.01722, allocations: 45.64 kB / 263.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.01733, allocations: 271 kB / 263.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.01746, allocations: 277.5 kB / 263.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.01759, allocations: 146.6 kB / 264 MB, free: 10.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.0177, allocations: 402.5 kB / 264.4 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.01784, allocations: 163.1 kB / 264.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004538/0.01829, allocations: 1.18 MB / 265.7 MB, free: 8.203 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.01859, allocations: 370 kB / 266.1 MB, free: 7.812 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.0186, allocations: 0 / 266.1 MB, free: 7.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0006945/0.01929, allocations: 0.6843 MB / 266.8 MB, free: 7.074 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.509e-05/0.01933, allocations: 93.05 kB / 266.8 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.01934, allocations: 3.984 kB / 266.8 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003301/0.01967, allocations: 163.4 kB / 267 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.02007, allocations: 187.7 kB / 267.2 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004505/0.02458, allocations: 5.313 MB / 272.5 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006274/0.0252, allocations: 91.56 kB / 272.6 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/0.02526, allocations: 19.98 kB / 272.6 MB, free: 0.8398 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.0002472/0.0255, allocations: 161.7 kB / 272.8 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.02565, allocations: 91.84 kB / 272.9 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.02578, allocations: 88.08 kB / 272.9 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.02578, allocations: 8 kB / 273 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.02579, allocations: 192 / 273 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001026/0.02682, allocations: 0.7879 MB / 273.7 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.02875, allocations: 0.9951 MB / 274.7 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.02875, allocations: 4 kB / 274.7 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006334/0.02938, allocations: 194.3 kB / 274.9 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.02965, allocations: 91.28 kB / 275 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003835/0.03003, allocations: 142.5 kB / 275.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/0.03006, allocations: 12 kB / 275.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003156/0.03322, allocations: 4.045 MB / 279.2 MB, free: 9.805 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.03322, allocations: 0 / 279.2 MB, free: 9.805 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.03438, allocations: 0.7243 MB / 279.9 MB, free: 9.059 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-05/0.03448, allocations: 16 kB / 280 MB, free: 9.043 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.03488, allocations: 39.97 kB / 280 MB, free: 9.004 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.03502, allocations: 72.53 kB / 280.1 MB, free: 8.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.03505, allocations: 15.98 kB / 280.1 MB, free: 8.914 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002481/0.0353, allocations: 252.6 kB / 280.3 MB, free: 8.668 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.0353, allocations: 0 / 280.3 MB, free: 8.668 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007719/0.03607, allocations: 295.7 kB / 280.6 MB, free: 8.379 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.0001436/0.03622, allocations: 104.3 kB / 280.7 MB, free: 8.266 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.03733, allocations: 1.089 MB / 281.8 MB, free: 7.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.743e-05/0.03735, allocations: 19.98 kB / 281.8 MB, free: 7.051 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006566/0.03801, allocations: 0.5913 MB / 282.4 MB, free: 6.418 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008553/0.03887, allocations: 338.7 kB / 282.7 MB, free: 6.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/0.05238, allocations: 1.406 MB / 284.2 MB, free: 4.648 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.05255, allocations: 165.4 kB / 284.3 MB, free: 4.469 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005056/0.05305, allocations: 106.4 kB / 284.4 MB, free: 4.359 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007895/0.05384, allocations: 381.1 kB / 284.8 MB, free: 3.984 MB / 282.7 MB Notification: Performance of SimCode: time 1.773e-06/0.05384, allocations: 0 / 284.8 MB, free: 3.984 MB / 282.7 MB Notification: Performance of Templates: time 0.1229/0.1767, allocations: 22.59 MB / 307.4 MB, free: 26.2 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.102298378944397]