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.001685/0.001685, allocations: 120.2 kB / 21.94 MB, free: 28 kB / 14.72 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.002154/0.002154, allocations: 208.8 kB / 25.24 MB, free: 3.562 MB / 14.72 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 1.54/1.54, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 52.44 kB / 348.4 MB, free: 9.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2819, allocations: 49.16 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005557/0.2875, allocations: 4.971 MB / 402.6 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.2902, allocations: 1.336 MB / 403.9 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005298/0.2907, allocations: 16.34 kB / 403.9 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004862/0.2912, allocations: 165 kB / 404.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007488/0.2919, allocations: 330.3 kB / 404.4 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005944/0.2925, allocations: 233.4 kB / 404.6 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.2938, allocations: 1.152 MB / 405.8 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003786/0.2942, allocations: 225.2 kB / 406 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005944/0.2948, allocations: 453.1 kB / 406.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006267/0.2954, allocations: 0.4988 MB / 407 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.2955, allocations: 101.7 kB / 407.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.2957, allocations: 104.3 kB / 407.2 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.2959, allocations: 223.3 kB / 407.4 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005379/0.2965, allocations: 0.5123 MB / 407.9 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.2979, allocations: 1.192 MB / 409.1 MB, free: 2.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.2979, allocations: 1.375 kB / 409.1 MB, free: 2.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2979, allocations: 0 / 409.1 MB, free: 2.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.54e-05/0.2979, allocations: 0 / 409.1 MB, free: 2.395 MB / 318.1 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.002303/0.3002, allocations: 1.27 MB / 410.4 MB, free: 1.539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3002, allocations: 13.58 kB / 410.4 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.3004, allocations: 110.9 kB / 410.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008364/0.3013, allocations: 0.4925 MB / 411 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.3015, allocations: 298.1 kB / 411.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.64e-05/0.3016, allocations: 61.34 kB / 411.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.3027, allocations: 0.8448 MB / 412.2 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.3027, allocations: 4 kB / 412.2 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.3028, allocations: 24.59 kB / 412.2 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.3028, allocations: 14.25 kB / 412.2 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.3039, allocations: 0.5559 MB / 412.8 MB, free: 15.87 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00377/0.3077, allocations: 2.061 MB / 414.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.3094, allocations: 0.6876 MB / 415.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006872/0.31, allocations: 334.2 kB / 415.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.904e-05/0.3101, allocations: 18.53 kB / 415.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/0.3102, allocations: 49.56 kB / 415.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.815e-06/0.3102, allocations: 1.031 kB / 415.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004816/0.315, allocations: 1.436 MB / 417.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004503/0.3154, allocations: 0.8193 MB / 418.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009959/0.3164, allocations: 0.6483 MB / 418.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001598/0.3166, allocations: 40.86 kB / 418.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.3169, allocations: 335.2 kB / 419.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/0.3172, allocations: 266.6 kB / 419.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002564/0.3175, allocations: 143.4 kB / 419.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.3177, allocations: 395.1 kB / 420 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005543/0.3182, allocations: 249.7 kB / 420.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008184/0.319, allocations: 0.5179 MB / 420.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.3202, allocations: 0.6376 MB / 421.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3202, allocations: 0 / 421.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002517/0.3227, allocations: 1.044 MB / 422.4 MB, free: 9.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.99e-05/0.3228, allocations: 91.5 kB / 422.5 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3228, allocations: 1.281 kB / 422.5 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007386/0.3236, allocations: 230.7 kB / 422.7 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/0.3241, allocations: 129.7 kB / 422.8 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008259/0.3324, allocations: 6.533 MB / 429.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.3337, allocations: 95.45 kB / 429.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.389e-05/0.3338, allocations: 24 kB / 429.5 MB, free: 2.23 MB / 334.1 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.0005516/0.3343, allocations: 214 kB / 429.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.3345, allocations: 91.48 kB / 429.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.3347, allocations: 99.33 kB / 429.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.3347, allocations: 15.88 kB / 429.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.3348, allocations: 0 / 429.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002409/0.3372, allocations: 1.171 MB / 431.1 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003988/0.3412, allocations: 1.835 MB / 432.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.3412, allocations: 4 kB / 432.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006174/0.3418, allocations: 127.9 kB / 433 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005652/0.3423, allocations: 190.5 kB / 433.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-05/0.3424, allocations: 23.98 kB / 433.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006767/0.3492, allocations: 4.997 MB / 438.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.3492, allocations: 3.938 kB / 438.3 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00329/0.3525, allocations: 1.324 MB / 439.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000582/0.353, allocations: 159.4 kB / 439.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002714/0.3533, allocations: 20 kB / 439.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007284/0.354, allocations: 43.95 kB / 439.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.3542, allocations: 68.53 kB / 439.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/0.3543, allocations: 16 kB / 439.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007066/0.355, allocations: 459 kB / 440.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.355, allocations: 0 / 440.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001105/0.3561, allocations: 283.8 kB / 440.6 MB, free: 6.551 MB / 350.1 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.000201/0.3563, allocations: 123.1 kB / 440.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002374/0.3587, allocations: 1.254 MB / 442 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.3587, allocations: 0 / 442 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.3598, allocations: 0.6793 MB / 442.7 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.361, allocations: 227.1 kB / 442.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003452/0.3645, allocations: 1.663 MB / 444.5 MB, free: 2.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006439/0.3651, allocations: 0.9401 MB / 445.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.3654, allocations: 63.44 kB / 445.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3654, allocations: 0 / 445.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of Templates: time 0.03144/0.3968, allocations: 22.16 MB / 467.7 MB, free: 11.16 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.661363817984238]