Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009819/0.0009819, allocations: 75.77 kB / 22.46 MB, free: 2.094 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.0009429/0.0009429, allocations: 164.1 kB / 25.75 MB, free: 8.949 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.8918/0.8918, allocations: 158.6 MB / 187.5 MB, free: 2.441 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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 251.1 MB, free: 7.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.209e-05, allocations: 2.312 kB / 251.1 MB, free: 7.754 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004429/0.004451, allocations: 4.911 MB / 256 MB, free: 2.82 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002105/0.006556, allocations: 1.321 MB / 257.3 MB, free: 1.488 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003229/0.006879, allocations: 11.94 kB / 257.3 MB, free: 1.477 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.007218, allocations: 162.5 kB / 257.5 MB, free: 1.316 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004746/0.007693, allocations: 341 kB / 257.8 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.008024, allocations: 231.5 kB / 258.1 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008445/0.008868, allocations: 1.203 MB / 259.3 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002796/0.009148, allocations: 222.5 kB / 259.5 MB, free: 15.31 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004919/0.00964, allocations: 0.6666 MB / 260.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003494/0.009989, allocations: 378.9 kB / 260.5 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.756e-05/0.01009, allocations: 104 kB / 260.6 MB, free: 14.17 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.976e-05/0.01019, allocations: 104 kB / 260.7 MB, free: 14.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.01031, allocations: 223.2 kB / 260.9 MB, free: 13.85 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.01057, allocations: 383.2 kB / 261.3 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006187/0.01119, allocations: 0.7862 MB / 262.1 MB, free: 12.69 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.0112, allocations: 4 kB / 262.1 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.0112, allocations: 4 kB / 262.1 MB, free: 12.68 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.01121, allocations: 0 / 262.1 MB, free: 12.68 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.001449/0.01266, allocations: 1.361 MB / 263.5 MB, free: 11.26 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.0127, allocations: 11.98 kB / 263.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.01287, allocations: 164.3 kB / 263.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.01341, allocations: 481.4 kB / 264.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.01358, allocations: 297.2 kB / 264.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.698e-05/0.01366, allocations: 72.38 kB / 264.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009648/0.01462, allocations: 1.519 MB / 266 MB, free: 8.332 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.01464, allocations: 4.188 kB / 266 MB, free: 8.328 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.676e-05/0.01469, allocations: 32.12 kB / 266 MB, free: 8.297 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.0147, allocations: 16 kB / 266 MB, free: 8.281 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004916/0.01519, allocations: 299.6 kB / 266.3 MB, free: 7.988 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.01712, allocations: 1.51 MB / 267.9 MB, free: 6.441 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007906/0.01791, allocations: 457.7 kB / 268.3 MB, free: 5.98 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.01824, allocations: 213.5 kB / 268.5 MB, free: 5.77 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.202e-05/0.0183, allocations: 20.98 kB / 268.5 MB, free: 5.746 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.01833, allocations: 54.05 kB / 268.6 MB, free: 5.684 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 2.875e-06/0.01834, allocations: 0 / 268.6 MB, free: 5.684 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.002307/0.02064, allocations: 1.054 MB / 269.6 MB, free: 4.609 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002252/0.02087, allocations: 0.8234 MB / 270.5 MB, free: 3.586 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004749/0.02134, allocations: 0.5729 MB / 271 MB, free: 2.996 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.64e-05/0.02139, allocations: 45.7 kB / 271.1 MB, free: 2.945 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.02161, allocations: 399.9 kB / 271.5 MB, free: 2.547 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.02175, allocations: 269.6 kB / 271.7 MB, free: 2.281 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.02191, allocations: 152.3 kB / 271.9 MB, free: 2.125 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.02207, allocations: 0.5547 MB / 272.4 MB, free: 1.559 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.02234, allocations: 207 kB / 272.6 MB, free: 1.34 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006723/0.02301, allocations: 1.306 MB / 273.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005184/0.02353, allocations: 434.7 kB / 274.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.02354, allocations: 4 kB / 274.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001135/0.02467, allocations: 0.8805 MB / 275.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.436e-05/0.02473, allocations: 89.05 kB / 275.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.02474, allocations: 0 / 275.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005144/0.02525, allocations: 190.6 kB / 275.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.02557, allocations: 127.8 kB / 275.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004682/0.03025, allocations: 7.807 MB / 283.5 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004155/0.03067, allocations: 83.53 kB / 283.5 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.0307, allocations: 20 kB / 283.6 MB, free: 5.465 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.0002251/0.03092, allocations: 212.4 kB / 283.8 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.03105, allocations: 115.5 kB / 283.9 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.618e-05/0.03114, allocations: 82.75 kB / 284 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.03115, allocations: 4 kB / 284 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.03115, allocations: 4.188 kB / 284 MB, free: 5.043 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001024/0.03218, allocations: 0.9251 MB / 284.9 MB, free: 4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.034, allocations: 1.4 MB / 286.3 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.034, allocations: 0 / 286.3 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.03434, allocations: 123.9 kB / 286.4 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003732/0.03471, allocations: 162.9 kB / 286.6 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/0.03474, allocations: 19.92 kB / 286.6 MB, free: 2.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003502/0.03825, allocations: 5.915 MB / 292.5 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.03825, allocations: 4 kB / 292.5 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.03952, allocations: 0.9482 MB / 293.5 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.03975, allocations: 159.2 kB / 293.6 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.434e-05/0.03981, allocations: 23.98 kB / 293.6 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.04009, allocations: 35.98 kB / 293.7 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.04022, allocations: 64.47 kB / 293.7 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.04025, allocations: 24 kB / 293.8 MB, free: 10.65 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003094/0.04056, allocations: 386.7 kB / 294.1 MB, free: 10.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.04056, allocations: 0 / 294.1 MB, free: 10.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000639/0.0412, allocations: 283.8 kB / 294.4 MB, free: 9.996 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.0001357/0.04133, allocations: 111.2 kB / 294.5 MB, free: 9.879 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.04249, allocations: 1.381 MB / 295.9 MB, free: 8.367 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.0425, allocations: 4 kB / 295.9 MB, free: 8.363 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005103/0.04301, allocations: 0.7523 MB / 296.7 MB, free: 7.551 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006026/0.04361, allocations: 230.9 kB / 296.9 MB, free: 7.328 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.04611, allocations: 1.438 MB / 298.3 MB, free: 5.844 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.04625, allocations: 165 kB / 298.5 MB, free: 5.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003157/0.04657, allocations: 94.02 kB / 298.6 MB, free: 5.566 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.04671, allocations: 64.48 kB / 298.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.04671, allocations: 0 / 298.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of Templates: time 0.02505/0.07175, allocations: 18.51 MB / 317.1 MB, free: 3 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.3205567088443786]