Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007656/0.0007656, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001111/0.001876, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006511/0.0006511, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008686/0.00152, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8642/0.8642, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1594/1.024, allocations: 52.5 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.618e-05, allocations: 2.312 kB / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.003955/0.003982, allocations: 4.922 MB / 244.7 MB, free: 1.434 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.006098, allocations: 1.329 MB / 246 MB, free: 116 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002726/0.00637, allocations: 16.78 kB / 246 MB, free: 100 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.006635, allocations: 166.7 kB / 246.2 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004265/0.007061, allocations: 346 kB / 246.5 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.007394, allocations: 221.1 kB / 246.7 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00102/0.008414, allocations: 1.215 MB / 247.9 MB, free: 14.17 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002651/0.00868, allocations: 236.4 kB / 248.2 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007387/0.009418, allocations: 0.8004 MB / 249 MB, free: 13.1 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003733/0.009792, allocations: 379.5 kB / 249.3 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.541e-05/0.009887, allocations: 100 kB / 249.4 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.01, allocations: 105.7 kB / 249.5 MB, free: 12.53 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.357e-05/0.0101, allocations: 159.4 kB / 249.7 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.01032, allocations: 307.5 kB / 250 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007679/0.01109, allocations: 0.7006 MB / 250.7 MB, free: 11.37 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.0111, allocations: 0.5 kB / 250.7 MB, free: 11.37 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.0111, allocations: 0 / 250.7 MB, free: 11.37 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.754e-05/0.01112, allocations: 0.8438 kB / 250.7 MB, free: 11.37 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.001293/0.01241, allocations: 1.425 MB / 252.1 MB, free: 9.898 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.01244, allocations: 16.03 kB / 252.1 MB, free: 9.883 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.01257, allocations: 124.8 kB / 252.3 MB, free: 9.762 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.01298, allocations: 369.3 kB / 252.6 MB, free: 9.371 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.01311, allocations: 293.2 kB / 252.9 MB, free: 9.031 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.414e-05/0.01318, allocations: 80.36 kB / 253 MB, free: 8.953 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006899/0.01387, allocations: 1.399 MB / 254.4 MB, free: 7.266 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.01388, allocations: 8.172 kB / 254.4 MB, free: 7.258 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.01391, allocations: 32.12 kB / 254.4 MB, free: 7.227 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.01392, allocations: 12 kB / 254.4 MB, free: 7.215 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.01417, allocations: 210.3 kB / 254.6 MB, free: 7.008 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.01552, allocations: 1.072 MB / 255.7 MB, free: 5.922 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005071/0.01602, allocations: 367.1 kB / 256.1 MB, free: 5.551 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.01621, allocations: 162.4 kB / 256.2 MB, free: 5.391 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.01625, allocations: 28.64 kB / 256.3 MB, free: 5.363 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.01628, allocations: 47.22 kB / 256.3 MB, free: 5.309 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 1.493e-06/0.01628, allocations: 0 / 256.3 MB, free: 5.309 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.001408/0.01769, allocations: 0.8325 MB / 257.1 MB, free: 4.457 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.01771, allocations: 64.06 kB / 257.2 MB, free: 4.383 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.01799, allocations: 483.1 kB / 257.7 MB, free: 3.898 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.01803, allocations: 45.7 kB / 257.7 MB, free: 3.848 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.01814, allocations: 258.4 kB / 258 MB, free: 3.594 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.01827, allocations: 261.6 kB / 258.2 MB, free: 3.336 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.0184, allocations: 146.6 kB / 258.4 MB, free: 3.184 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.813e-05/0.0185, allocations: 386.6 kB / 258.7 MB, free: 2.797 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.01863, allocations: 167.1 kB / 258.9 MB, free: 2.617 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004701/0.0191, allocations: 1.168 MB / 260.1 MB, free: 1.145 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.01939, allocations: 370 kB / 260.4 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01939, allocations: 0 / 260.4 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008707/0.02027, allocations: 0.6726 MB / 261.1 MB, free: 24 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.044e-05/0.02032, allocations: 89.11 kB / 261.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.02032, allocations: 0 / 261.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003109/0.02063, allocations: 167.2 kB / 261.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.02097, allocations: 175.7 kB / 261.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/0.02381, allocations: 5.305 MB / 266.8 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.0241, allocations: 79.59 kB / 266.9 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.02412, allocations: 20.03 kB / 266.9 MB, free: 9.82 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.0001329/0.02426, allocations: 161.7 kB / 267.1 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.901e-05/0.02434, allocations: 79.91 kB / 267.2 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.477e-05/0.02441, allocations: 82.75 kB / 267.3 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.02442, allocations: 8 kB / 267.3 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.02442, allocations: 0 / 267.3 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006293/0.02505, allocations: 0.784 MB / 268 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.02649, allocations: 0.9656 MB / 269 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.02649, allocations: 0 / 269 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.02685, allocations: 174.9 kB / 269.2 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.02699, allocations: 87.38 kB / 269.3 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002659/0.02726, allocations: 150.3 kB / 269.4 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.02728, allocations: 19.94 kB / 269.4 MB, free: 7.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.02934, allocations: 4.006 MB / 273.4 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02934, allocations: 0 / 273.4 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007799/0.03012, allocations: 0.7117 MB / 274.1 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.521e-05/0.03017, allocations: 20 kB / 274.2 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.03041, allocations: 31.98 kB / 274.2 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.03051, allocations: 64.41 kB / 274.3 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.03053, allocations: 12 kB / 274.3 MB, free: 2.008 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001544/0.03068, allocations: 228.3 kB / 274.5 MB, free: 1.785 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03068, allocations: 0 / 274.5 MB, free: 1.785 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004945/0.03118, allocations: 291.7 kB / 274.8 MB, free: 1.5 MB / 266.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.0001065/0.03128, allocations: 104.4 kB / 274.9 MB, free: 1.391 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009566/0.03224, allocations: 1.07 MB / 276 MB, free: 224 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/0.03226, allocations: 16 kB / 276 MB, free: 208 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003979/0.03265, allocations: 0.6041 MB / 276.6 MB, free: 15.56 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009932/0.03365, allocations: 2.141 MB / 278.7 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008523/0.04217, allocations: 1.34 MB / 280.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.742e-05/0.04227, allocations: 165.2 kB / 280.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002304/0.0425, allocations: 98.28 kB / 280.3 MB, free: 11.33 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005228/0.04302, allocations: 381 kB / 280.7 MB, free: 10.96 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.04302, allocations: 4 kB / 280.7 MB, free: 10.96 MB / 282.7 MB Notification: Performance of Templates: time 0.02012/0.06314, allocations: 22.16 MB / 302.8 MB, free: 5.207 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.001739743165672]