Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.001328/0.001328, allocations: 81.97 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.001009/0.001009, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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.97/0.97, allocations: 177.1 MB / 206.1 MB, free: 4.473 MB / 186.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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086e-05/1.191e-05, allocations: 2.312 kB / 274.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.003717/0.003729, allocations: 4.863 MB / 279.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.005076, allocations: 1.296 MB / 280.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.005269, allocations: 11.94 kB / 280.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.00556, allocations: 166.5 kB / 280.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003858/0.005946, allocations: 345 kB / 280.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.006213, allocations: 231.5 kB / 281.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007411/0.006954, allocations: 1.211 MB / 282.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.007202, allocations: 218.5 kB / 282.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004287/0.007631, allocations: 0.6705 MB / 283.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.007966, allocations: 371 kB / 283.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.251e-05/0.008059, allocations: 100 kB / 283.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.574e-05/0.008155, allocations: 104 kB / 283.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.00827, allocations: 231.2 kB / 284 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002464/0.008517, allocations: 379.2 kB / 284.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005338/0.009051, allocations: 0.7785 MB / 285.1 MB, free: 9.441 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.009053, allocations: 0 / 285.1 MB, free: 9.441 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.009053, allocations: 0 / 285.1 MB, free: 9.441 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.00906, allocations: 0 / 285.1 MB, free: 9.441 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001285/0.01034, allocations: 1.365 MB / 286.5 MB, free: 8.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.01038, allocations: 12.03 kB / 286.5 MB, free: 8.008 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.01053, allocations: 164.3 kB / 286.7 MB, free: 7.848 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004403/0.01097, allocations: 472 kB / 287.1 MB, free: 7.355 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.01112, allocations: 297.2 kB / 287.4 MB, free: 7.012 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.566e-05/0.01119, allocations: 76.36 kB / 287.5 MB, free: 6.938 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008128/0.01201, allocations: 1.48 MB / 289 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.01202, allocations: 192 / 289 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.364e-05/0.01207, allocations: 32.12 kB / 289 MB, free: 5.102 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.01208, allocations: 16 kB / 289 MB, free: 5.086 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.01238, allocations: 242.1 kB / 289.2 MB, free: 4.848 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.01405, allocations: 1.425 MB / 290.7 MB, free: 3.395 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005853/0.01464, allocations: 415.9 kB / 291.1 MB, free: 2.977 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.01484, allocations: 189.2 kB / 291.3 MB, free: 2.793 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.092e-05/0.01488, allocations: 16.66 kB / 291.3 MB, free: 2.777 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.01491, allocations: 50.05 kB / 291.3 MB, free: 2.715 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 1.673e-06/0.01491, allocations: 0 / 291.3 MB, free: 2.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001763/0.01667, allocations: 0.9603 MB / 292.3 MB, free: 1.734 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002252/0.0169, allocations: 0.8234 MB / 293.1 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/0.01727, allocations: 0.5646 MB / 293.7 MB, free: 136 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.01731, allocations: 45.7 kB / 293.7 MB, free: 84 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.01753, allocations: 407.8 kB / 294.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.01767, allocations: 265.6 kB / 294.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.01782, allocations: 156.2 kB / 294.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.01798, allocations: 0.5624 MB / 295.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.01815, allocations: 179 kB / 295.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005926/0.01874, allocations: 1.271 MB / 296.5 MB, free: 12.87 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.0191, allocations: 386.7 kB / 296.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.0191, allocations: 0 / 296.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008901/0.01999, allocations: 0.8024 MB / 297.7 MB, free: 11.6 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.378e-05/0.02004, allocations: 93.09 kB / 297.8 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.02004, allocations: 3.938 kB / 297.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003661/0.02041, allocations: 188.2 kB / 298 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.02069, allocations: 123.9 kB / 298.1 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003782/0.02447, allocations: 7.681 MB / 305.8 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/0.0248, allocations: 87.52 kB / 305.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.02483, allocations: 20 kB / 305.9 MB, free: 2.922 MB / 282.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 (70): * Single equations (assignments): 63 * 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.0001687/0.025, allocations: 208.5 kB / 306.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.02511, allocations: 107.5 kB / 306.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.005e-05/0.02519, allocations: 82.75 kB / 306.3 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.02519, allocations: 8 kB / 306.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.0252, allocations: 0 / 306.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007846/0.02598, allocations: 0.8743 MB / 307.2 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.02745, allocations: 1.263 MB / 308.4 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.02745, allocations: 4 kB / 308.4 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.02776, allocations: 123.9 kB / 308.6 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003024/0.02806, allocations: 151 kB / 308.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.02808, allocations: 19.94 kB / 308.7 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002721/0.03081, allocations: 5.82 MB / 314.5 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.03081, allocations: 7.938 kB / 314.6 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009857/0.03179, allocations: 0.874 MB / 315.4 MB, free: 8.812 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.03198, allocations: 151.3 kB / 315.6 MB, free: 8.664 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.281e-05/0.03204, allocations: 24 kB / 315.6 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/0.03233, allocations: 35.97 kB / 315.6 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.681e-05/0.03242, allocations: 64.48 kB / 315.7 MB, free: 8.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.03245, allocations: 15.98 kB / 315.7 MB, free: 8.527 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002106/0.03266, allocations: 358.6 kB / 316.1 MB, free: 8.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03266, allocations: 0 / 316.1 MB, free: 8.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005585/0.03322, allocations: 287.7 kB / 316.3 MB, free: 7.898 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (61): * Single equations (assignments): 58 * 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.0001266/0.03334, allocations: 127.2 kB / 316.5 MB, free: 7.762 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008839/0.03423, allocations: 1.319 MB / 317.8 MB, free: 6.316 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.03423, allocations: 4 kB / 317.8 MB, free: 6.312 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004243/0.03466, allocations: 0.7364 MB / 318.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005637/0.03522, allocations: 230.9 kB / 318.8 MB, free: 5.297 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.03697, allocations: 1.418 MB / 320.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.03707, allocations: 169 kB / 320.3 MB, free: 3.645 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002215/0.03729, allocations: 94.02 kB / 320.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005763/0.03787, allocations: 421.9 kB / 320.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of SimCode: time 8.31e-07/0.03787, allocations: 0 / 320.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of Templates: time 0.02015/0.05802, allocations: 20.08 MB / 340.9 MB, free: 15.41 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.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.29924770956859]