Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001878/0.001878, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002397/0.002397, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 230.5 MB / 258.1 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 67.89 kB / 379 MB, free: 2.281 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.236, allocations: 53.41 MB / 432.4 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006801/0.2428, allocations: 4.438 MB / 436.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002953/0.2458, allocations: 1.262 MB / 438.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007248/0.2465, allocations: 11.94 kB / 438.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006739/0.2472, allocations: 154.6 kB / 438.3 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.2483, allocations: 329.3 kB / 438.6 MB, free: 292 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006979/0.249, allocations: 231.6 kB / 438.8 MB, free: 60 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001766/0.2508, allocations: 1.153 MB / 440 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004838/0.2512, allocations: 218.6 kB / 440.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007938/0.252, allocations: 458.4 kB / 440.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008429/0.2529, allocations: 434 kB / 441 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002522/0.2531, allocations: 107.9 kB / 441.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003058/0.2534, allocations: 107.9 kB / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002641/0.2537, allocations: 223.2 kB / 441.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007291/0.2544, allocations: 442.2 kB / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.2559, allocations: 1.198 MB / 443.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2559, allocations: 0 / 443.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2559, allocations: 0 / 443.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.884e-05/0.256, allocations: 0 / 443.1 MB, free: 11.73 MB / 350.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.002969/0.2589, allocations: 1.265 MB / 444.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.259, allocations: 11.98 kB / 444.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002784/0.2593, allocations: 116.3 kB / 444.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.2604, allocations: 0.4915 MB / 445 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003145/0.2607, allocations: 293.2 kB / 445.3 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.2608, allocations: 64.38 kB / 445.3 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.2628, allocations: 1.6 MB / 446.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.2628, allocations: 0 / 446.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.879e-05/0.2629, allocations: 31.98 kB / 447 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.2629, allocations: 16 kB / 447 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.2642, allocations: 0.5517 MB / 447.5 MB, free: 6.883 MB / 350.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.003682/0.2679, allocations: 1.55 MB / 449.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.2697, allocations: 0.6918 MB / 449.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007341/0.2704, allocations: 342.4 kB / 450.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.414e-05/0.2705, allocations: 12.59 kB / 450.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.43e-05/0.2705, allocations: 47.22 kB / 450.2 MB, free: 4.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 3.436e-06/0.2705, allocations: 0 / 450.2 MB, free: 4.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004858/0.2754, allocations: 1.433 MB / 451.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004822/0.2759, allocations: 0.8234 MB / 452.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000899/0.2768, allocations: 0.5695 MB / 453 MB, free: 1.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.2769, allocations: 41.7 kB / 453 MB, free: 1.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/0.2772, allocations: 341.2 kB / 453.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000291/0.2775, allocations: 269.9 kB / 453.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002718/0.2778, allocations: 142.7 kB / 453.8 MB, free: 364 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000237/0.278, allocations: 394.6 kB / 454.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006454/0.2787, allocations: 326.9 kB / 454.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.28, allocations: 1.363 MB / 455.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.2813, allocations: 0.6388 MB / 456.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.2813, allocations: 0 / 456.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002715/0.284, allocations: 1.116 MB / 457.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.62e-05/0.2841, allocations: 85.09 kB / 457.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.2841, allocations: 8 kB / 457.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007704/0.2848, allocations: 235.2 kB / 457.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006073/0.2855, allocations: 127.9 kB / 458 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008628/0.2941, allocations: 6.384 MB / 464.4 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009233/0.295, allocations: 87.56 kB / 464.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.2951, allocations: 28.05 kB / 464.5 MB, free: 4.73 MB / 366.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.0005039/0.2956, allocations: 221.7 kB / 464.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.2959, allocations: 83.53 kB / 464.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.2961, allocations: 82.75 kB / 464.9 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.2961, allocations: 8.188 kB / 464.9 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.2961, allocations: 4 kB / 464.9 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002396/0.2985, allocations: 1.182 MB / 466.1 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003921/0.3024, allocations: 1.613 MB / 467.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3024, allocations: 4.062 kB / 467.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006377/0.3031, allocations: 127.8 kB / 467.8 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005704/0.3036, allocations: 194.5 kB / 468 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.667e-05/0.3037, allocations: 20 kB / 468.1 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006582/0.3103, allocations: 4.901 MB / 473 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3103, allocations: 0 / 473 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003191/0.3135, allocations: 1.301 MB / 474.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000509/0.314, allocations: 163.3 kB / 474.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.3141, allocations: 19.94 kB / 474.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006569/0.3148, allocations: 43.97 kB / 474.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.315, allocations: 68.41 kB / 474.5 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.315, allocations: 20 kB / 474.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005908/0.3156, allocations: 406.8 kB / 475 MB, free: 9.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3156, allocations: 0 / 475 MB, free: 9.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001011/0.3166, allocations: 287.7 kB / 475.2 MB, free: 9.492 MB / 382.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.0002094/0.3168, allocations: 115.4 kB / 475.4 MB, free: 9.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002315/0.3192, allocations: 1.345 MB / 476.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.3192, allocations: 7.938 kB / 476.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.3202, allocations: 0.6716 MB / 477.4 MB, free: 7.199 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.3214, allocations: 218.2 kB / 477.6 MB, free: 6.988 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/0.3248, allocations: 1.656 MB / 479.2 MB, free: 5.285 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.3252, allocations: 345.3 kB / 479.6 MB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.3254, allocations: 67.42 kB / 479.6 MB, free: 4.855 MB / 382.1 MB Notification: Performance of SimCode: time 9.31e-07/0.3254, allocations: 3.938 kB / 479.7 MB, free: 4.852 MB / 382.1 MB Notification: Performance of Templates: time 0.03032/0.3558, allocations: 22.22 MB / 0.4901 GB, free: 14.7 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.32752931676805]