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.001098/0.001098, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001692/0.00279, allocations: 449.7 kB / 10.37 MB, free: 328 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.001121/0.001121, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.002559, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9433/0.9433, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1173/1.061, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.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.573e-06/1.573e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.282e-05/1.44e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005502/0.005516, allocations: 4.942 MB / 249.5 MB, free: 9.352 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002829/0.008345, allocations: 1.358 MB / 250.8 MB, free: 7.984 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000437/0.008782, allocations: 15.88 kB / 250.8 MB, free: 7.969 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003544/0.009137, allocations: 162.6 kB / 251 MB, free: 7.809 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000648/0.009785, allocations: 348.9 kB / 251.3 MB, free: 7.465 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.01023, allocations: 227.5 kB / 251.6 MB, free: 7.242 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.01146, allocations: 1.207 MB / 252.8 MB, free: 6.027 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003585/0.01182, allocations: 232.5 kB / 253 MB, free: 5.785 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.01289, allocations: 0.8037 MB / 253.8 MB, free: 4.965 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005996/0.01349, allocations: 370.9 kB / 254.2 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.01367, allocations: 100 kB / 254.3 MB, free: 4.504 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.01383, allocations: 104 kB / 254.4 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.01399, allocations: 159.5 kB / 254.5 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003571/0.01434, allocations: 311.4 kB / 254.8 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000825/0.01517, allocations: 0.7007 MB / 255.5 MB, free: 3.238 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.632e-05/0.01519, allocations: 0 / 255.5 MB, free: 3.238 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.01519, allocations: 0 / 255.5 MB, free: 3.238 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.752e-05/0.01521, allocations: 3.938 kB / 255.5 MB, free: 3.234 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001937/0.01715, allocations: 1.415 MB / 256.9 MB, free: 1.773 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.01719, allocations: 12.03 kB / 257 MB, free: 1.762 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.01737, allocations: 128.8 kB / 257.1 MB, free: 1.637 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006073/0.01798, allocations: 381.3 kB / 257.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003241/0.0183, allocations: 297.2 kB / 257.7 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.01841, allocations: 76.33 kB / 257.8 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.01943, allocations: 1.406 MB / 259.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.01945, allocations: 192 / 259.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.377e-05/0.0195, allocations: 32.12 kB / 259.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.01952, allocations: 12 kB / 259.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004103/0.01993, allocations: 214.2 kB / 259.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.02208, allocations: 1.072 MB / 260.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008179/0.0229, allocations: 355.4 kB / 260.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.02317, allocations: 162.7 kB / 261.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.37e-05/0.02321, allocations: 20.66 kB / 261.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.02324, allocations: 47.22 kB / 261.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 2.455e-06/0.02325, allocations: 0 / 261.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001509/0.02476, allocations: 0.8247 MB / 261.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.02478, allocations: 64.06 kB / 262 MB, free: 12.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.02509, allocations: 483.1 kB / 262.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.02514, allocations: 49.7 kB / 262.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.02525, allocations: 258.4 kB / 262.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.02538, allocations: 265.6 kB / 263 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.02551, allocations: 142.6 kB / 263.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.02561, allocations: 390.6 kB / 263.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.02574, allocations: 163.1 kB / 263.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004154/0.02615, allocations: 1.172 MB / 264.9 MB, free: 9.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.02644, allocations: 362 kB / 265.2 MB, free: 8.637 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.02644, allocations: 8 kB / 265.3 MB, free: 8.629 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006487/0.02709, allocations: 0.6804 MB / 265.9 MB, free: 7.895 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.8e-05/0.02714, allocations: 88.39 kB / 266 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.02714, allocations: 0 / 266 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003434/0.02748, allocations: 171.2 kB / 266.2 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.02786, allocations: 167.8 kB / 266.4 MB, free: 7.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/0.03056, allocations: 5.302 MB / 271.7 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.03087, allocations: 79.55 kB / 271.7 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.03089, allocations: 20 kB / 271.8 MB, free: 1.707 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 (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.0001392/0.03103, allocations: 165.7 kB / 271.9 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.03111, allocations: 79.92 kB / 272 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.744e-05/0.03119, allocations: 86.75 kB / 272.1 MB, free: 1.367 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.03119, allocations: 4.188 kB / 272.1 MB, free: 1.363 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.03119, allocations: 8 kB / 272.1 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006302/0.03182, allocations: 0.7762 MB / 272.9 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.03338, allocations: 0.9655 MB / 273.8 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.03338, allocations: 0 / 273.8 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004931/0.03387, allocations: 172.4 kB / 274 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.03407, allocations: 91.33 kB / 274.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003266/0.0344, allocations: 138.5 kB / 274.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.03443, allocations: 19.94 kB / 274.2 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002584/0.03701, allocations: 4.018 MB / 278.3 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.03702, allocations: 3.984 kB / 278.3 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004021/0.04104, allocations: 0.7039 MB / 279 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.979e-05/0.04112, allocations: 20 kB / 279 MB, free: 9.996 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003292/0.04145, allocations: 35.97 kB / 279 MB, free: 9.961 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.04156, allocations: 64.48 kB / 279.1 MB, free: 9.898 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.04159, allocations: 15.98 kB / 279.1 MB, free: 9.883 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001968/0.04179, allocations: 228.3 kB / 279.3 MB, free: 9.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04179, allocations: 0 / 279.3 MB, free: 9.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006126/0.0424, allocations: 287.7 kB / 279.6 MB, free: 9.379 MB / 282.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.0001167/0.04252, allocations: 100.3 kB / 279.7 MB, free: 9.27 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003868/0.04638, allocations: 1.077 MB / 280.8 MB, free: 8.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.226e-05/0.04641, allocations: 19.97 kB / 280.8 MB, free: 8.07 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004278/0.04683, allocations: 0.5447 MB / 281.3 MB, free: 7.484 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006828/0.04752, allocations: 322.8 kB / 281.7 MB, free: 7.164 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04753/0.09505, allocations: 1.333 MB / 283 MB, free: 5.785 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.09518, allocations: 161.1 kB / 283.2 MB, free: 5.609 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003143/0.09549, allocations: 102 kB / 283.3 MB, free: 5.508 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006381/0.09613, allocations: 377 kB / 283.6 MB, free: 5.137 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.09613, allocations: 0 / 283.6 MB, free: 5.137 MB / 282.7 MB Notification: Performance of Templates: time 0.1102/0.2064, allocations: 21.55 MB / 305.2 MB, free: 27.74 MB / 282.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 -ignoreHideResult -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.121973347850144]