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.001629/0.001629, allocations: 103.6 kB / 21.18 MB, free: 332 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.002069/0.002069, allocations: 215 kB / 24.47 MB, free: 3.551 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.513/1.513, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.001888/0.001888, allocations: 51.92 kB / 347.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2628, allocations: 49.16 MB / 396.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005029/0.2678, allocations: 4.4 MB / 401.3 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.2702, allocations: 1.284 MB / 402.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003218/0.2705, allocations: 12.28 kB / 402.6 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.2709, allocations: 164 kB / 402.7 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005665/0.2715, allocations: 326 kB / 403 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.2719, allocations: 229.5 kB / 403.3 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001103/0.273, allocations: 1.157 MB / 404.4 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003752/0.2734, allocations: 217.5 kB / 404.6 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005087/0.2739, allocations: 461.5 kB / 405.1 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005931/0.2745, allocations: 431.3 kB / 405.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001705/0.2746, allocations: 101.7 kB / 405.6 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.2749, allocations: 103 kB / 405.7 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.275, allocations: 224.4 kB / 405.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004793/0.2755, allocations: 445.3 kB / 406.3 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.2771, allocations: 1.195 MB / 407.5 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2771, allocations: 0 / 407.5 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.2771, allocations: 0 / 407.5 MB, free: 3.102 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.2771, allocations: 0 / 407.5 MB, free: 3.102 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.002439/0.2796, allocations: 1.262 MB / 408.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/0.2796, allocations: 17.58 kB / 408.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.2798, allocations: 115.3 kB / 408.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009075/0.2807, allocations: 0.491 MB / 409.4 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002204/0.281, allocations: 303.6 kB / 409.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.2811, allocations: 61.22 kB / 409.8 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.2825, allocations: 1.606 MB / 411.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.2825, allocations: 1 kB / 411.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.528e-05/0.2826, allocations: 28.41 kB / 411.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.2826, allocations: 13.81 kB / 411.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.2839, allocations: 0.5479 MB / 412 MB, free: 15.61 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.003385/0.2873, allocations: 1.564 MB / 413.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/0.289, allocations: 0.6832 MB / 414.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006864/0.2896, allocations: 334.3 kB / 414.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.571e-05/0.2897, allocations: 18.97 kB / 414.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/0.2897, allocations: 49.83 kB / 414.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 3.036e-06/0.2898, allocations: 0 / 414.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004759/0.2945, allocations: 1.419 MB / 416 MB, free: 13.26 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005024/0.295, allocations: 0.823 MB / 416.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007874/0.2958, allocations: 0.5706 MB / 417.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.108e-05/0.2959, allocations: 45.86 kB / 417.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/0.2962, allocations: 344.4 kB / 417.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.2964, allocations: 267 kB / 418.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.2967, allocations: 147 kB / 418.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.2969, allocations: 390 kB / 418.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006075/0.2975, allocations: 328.3 kB / 418.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/0.299, allocations: 1.353 MB / 420.3 MB, free: 9.188 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.3002, allocations: 0.6421 MB / 420.9 MB, free: 8.797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3002, allocations: 1.531 kB / 420.9 MB, free: 8.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002726/0.3029, allocations: 1.113 MB / 422 MB, free: 8.109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.172e-05/0.303, allocations: 91.78 kB / 422.1 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.303, allocations: 0 / 422.1 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007875/0.3038, allocations: 236.5 kB / 422.3 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005795/0.3044, allocations: 125.1 kB / 422.5 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008619/0.313, allocations: 6.389 MB / 428.9 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.314, allocations: 91.56 kB / 429 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.85e-05/0.3141, allocations: 23.98 kB / 429 MB, free: 1.477 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.0004389/0.3145, allocations: 229.7 kB / 429.2 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.3147, allocations: 83.53 kB / 429.3 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.3149, allocations: 82.75 kB / 429.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.3149, allocations: 8 kB / 429.4 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.3149, allocations: 0 / 429.4 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002377/0.3173, allocations: 1.178 MB / 430.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003774/0.321, allocations: 1.613 MB / 432.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.321, allocations: 3.984 kB / 432.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006139/0.3217, allocations: 123.8 kB / 432.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005554/0.3222, allocations: 206.5 kB / 432.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.465e-05/0.3223, allocations: 12 kB / 432.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006461/0.3287, allocations: 4.897 MB / 437.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3287, allocations: 8.328 kB / 437.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003158/0.3319, allocations: 1.301 MB / 438.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005188/0.3324, allocations: 159.3 kB / 438.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.3325, allocations: 20 kB / 438.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005937/0.3331, allocations: 39.95 kB / 438.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.3333, allocations: 68.42 kB / 439 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.623e-05/0.3333, allocations: 23.98 kB / 439 MB, free: 6.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005481/0.3339, allocations: 406.8 kB / 439.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3339, allocations: 0 / 439.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009329/0.3348, allocations: 283.7 kB / 439.7 MB, free: 6.246 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.000193/0.335, allocations: 127.2 kB / 439.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002159/0.3372, allocations: 1.341 MB / 441.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.3372, allocations: 0 / 441.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.3382, allocations: 0.6795 MB / 441.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009683/0.3392, allocations: 218.8 kB / 442 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/0.3422, allocations: 1.611 MB / 443.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.3425, allocations: 345.3 kB / 444 MB, free: 1.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003949/0.3429, allocations: 98.02 kB / 444.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.3431, allocations: 59.42 kB / 444.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3431, allocations: 0 / 444.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of Templates: time 0.0321/0.3752, allocations: 19.44 MB / 463.6 MB, free: 14.04 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/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: 5.505086338147521]