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.001045/0.001045, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001607/0.002652, allocations: 449.7 kB / 10.37 MB, free: 332 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.001092/0.001092, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00151/0.002602, allocations: 459.6 kB / 11.69 MB, free: 2.48 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.9492/0.9492, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08386/1.033, allocations: 52.49 MB / 238.3 MB, free: 4.434 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.273e-06/1.273e-06, allocations: 0 / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162e-05/1.29e-05, allocations: 6.312 kB / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004246/0.004258, allocations: 4.924 MB / 244.5 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.006094, allocations: 1.335 MB / 245.8 MB, free: 12.89 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.006311, allocations: 11.94 kB / 245.8 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.00659, allocations: 170.5 kB / 246 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004875/0.007077, allocations: 341 kB / 246.3 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.007423, allocations: 235.5 kB / 246.5 MB, free: 12.14 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000943/0.008366, allocations: 1.207 MB / 247.7 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003435/0.008709, allocations: 240.4 kB / 248 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007412/0.00945, allocations: 0.7959 MB / 248.8 MB, free: 9.863 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004152/0.009866, allocations: 371 kB / 249.1 MB, free: 9.5 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.00998, allocations: 104 kB / 249.2 MB, free: 9.398 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.01011, allocations: 104 kB / 249.3 MB, free: 9.297 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.01024, allocations: 167.4 kB / 249.5 MB, free: 9.133 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003004/0.01054, allocations: 311.5 kB / 249.8 MB, free: 8.828 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006743/0.01121, allocations: 0.7006 MB / 250.5 MB, free: 8.125 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.43e-05/0.01123, allocations: 0 / 250.5 MB, free: 8.125 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01123, allocations: 0 / 250.5 MB, free: 8.125 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.974e-05/0.01125, allocations: 0 / 250.5 MB, free: 8.125 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.001589/0.01284, allocations: 1.415 MB / 251.9 MB, free: 6.66 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.01287, allocations: 8.031 kB / 251.9 MB, free: 6.652 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.01302, allocations: 132.8 kB / 252.1 MB, free: 6.523 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.01351, allocations: 365.4 kB / 252.4 MB, free: 6.137 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.01369, allocations: 297.2 kB / 252.7 MB, free: 5.793 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.75e-05/0.01378, allocations: 76.38 kB / 252.8 MB, free: 5.719 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009116/0.01469, allocations: 1.414 MB / 254.2 MB, free: 4.016 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.01471, allocations: 192 / 254.2 MB, free: 4.016 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/0.01475, allocations: 32.12 kB / 254.2 MB, free: 3.984 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.01477, allocations: 16 kB / 254.2 MB, free: 3.969 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003426/0.01511, allocations: 198.3 kB / 254.4 MB, free: 3.773 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.01696, allocations: 1.076 MB / 255.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009314/0.01789, allocations: 378.8 kB / 255.9 MB, free: 2.305 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.01813, allocations: 166.5 kB / 256.1 MB, free: 2.141 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.259e-05/0.01817, allocations: 16.64 kB / 256.1 MB, free: 2.125 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.0182, allocations: 51.16 kB / 256.1 MB, free: 2.066 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 2.254e-06/0.01821, allocations: 0 / 256.1 MB, free: 2.066 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.001902/0.02011, allocations: 0.8247 MB / 256.9 MB, free: 1.223 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.02014, allocations: 64.06 kB / 257 MB, free: 1.148 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003633/0.0205, allocations: 479.2 kB / 257.5 MB, free: 0.668 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.02055, allocations: 41.7 kB / 257.5 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.02068, allocations: 254.4 kB / 257.8 MB, free: 380 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.02082, allocations: 273.6 kB / 258 MB, free: 104 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.02099, allocations: 146.7 kB / 258.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.02109, allocations: 386.6 kB / 258.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.02121, allocations: 159.1 kB / 258.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004723/0.02168, allocations: 1.176 MB / 259.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/0.02197, allocations: 366 kB / 260.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.02197, allocations: 0 / 260.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006879/0.02266, allocations: 0.6726 MB / 260.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/0.0227, allocations: 81.11 kB / 261 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.0227, allocations: 8.062 kB / 261 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003204/0.02303, allocations: 175.1 kB / 261.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.02339, allocations: 171 kB / 261.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007257/0.03064, allocations: 5.32 MB / 266.7 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006166/0.03126, allocations: 79.53 kB / 266.7 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.03131, allocations: 16 kB / 266.7 MB, free: 6.582 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.000245/0.03156, allocations: 157.8 kB / 266.9 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.0317, allocations: 79.91 kB / 267 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.03183, allocations: 86.75 kB / 267.1 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.03184, allocations: 8 kB / 267.1 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.03185, allocations: 4 kB / 267.1 MB, free: 6.234 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001036/0.03288, allocations: 0.7801 MB / 267.9 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.03475, allocations: 0.9655 MB / 268.8 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.03475, allocations: 7.938 kB / 268.8 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000614/0.03537, allocations: 163.8 kB / 269 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002588/0.03563, allocations: 87.38 kB / 269.1 MB, free: 4.078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004089/0.03604, allocations: 142.5 kB / 269.2 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/0.03607, allocations: 11.94 kB / 269.2 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003318/0.03939, allocations: 4.022 MB / 273.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.03939, allocations: 3.938 kB / 273.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.0406, allocations: 0.7079 MB / 274 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.04071, allocations: 16 kB / 274 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/0.04109, allocations: 39.97 kB / 274 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.04123, allocations: 60.48 kB / 274.1 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.04126, allocations: 19.98 kB / 274.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002476/0.0415, allocations: 224.3 kB / 274.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0415, allocations: 0 / 274.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008229/0.04233, allocations: 291.7 kB / 274.6 MB, free: 14.26 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.0001508/0.04248, allocations: 104.3 kB / 274.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.04357, allocations: 1.066 MB / 275.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.659e-05/0.0436, allocations: 12 kB / 275.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005087/0.04411, allocations: 0.5561 MB / 276.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008044/0.04491, allocations: 317.4 kB / 276.6 MB, free: 12.06 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/0.05891, allocations: 1.348 MB / 278 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.05909, allocations: 165.1 kB / 278.2 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004708/0.05956, allocations: 98 kB / 278.2 MB, free: 10.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007738/0.06033, allocations: 369.1 kB / 278.6 MB, free: 10.02 MB / 282.7 MB Notification: Performance of SimCode: time 1.162e-06/0.06034, allocations: 0 / 278.6 MB, free: 10.02 MB / 282.7 MB Notification: Performance of Templates: time 0.1171/0.1774, allocations: 21.53 MB / 300.1 MB, free: 38.42 MB / 282.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0299073988571763]