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.001373/0.001373, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001449/0.001449, allocations: 203.7 kB / 23.72 MB, free: 4.391 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.451/1.451, allocations: 230.5 MB / 257.4 MB, free: 7.762 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.002107/0.002107, allocations: 63.89 kB / 378.2 MB, free: 2.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2496, allocations: 53.4 MB / 431.6 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006251/0.2558, allocations: 4.445 MB / 436.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002628/0.2585, allocations: 1.266 MB / 437.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002809/0.2588, allocations: 11.94 kB / 437.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004414/0.2592, allocations: 162.6 kB / 437.5 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006437/0.2598, allocations: 333.2 kB / 437.8 MB, free: 332 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.2603, allocations: 223.6 kB / 438.1 MB, free: 108 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.2615, allocations: 1.157 MB / 439.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003725/0.2619, allocations: 220.1 kB / 439.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004846/0.2624, allocations: 454.4 kB / 439.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005686/0.263, allocations: 437.9 kB / 440.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.2631, allocations: 104 kB / 440.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.2633, allocations: 104 kB / 440.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002093/0.2635, allocations: 219.2 kB / 440.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004594/0.264, allocations: 442.2 kB / 441.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.2652, allocations: 1.198 MB / 442.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2652, allocations: 3.938 kB / 442.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2652, allocations: 4 kB / 442.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.2652, allocations: 0 / 442.3 MB, free: 11.78 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.00237/0.2676, allocations: 1.265 MB / 443.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2676, allocations: 11.98 kB / 443.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.2678, allocations: 112.3 kB / 443.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000959/0.2688, allocations: 499.3 kB / 444.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003416/0.2691, allocations: 297.2 kB / 444.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.2692, allocations: 60.38 kB / 444.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.2712, allocations: 1.596 MB / 446.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.2712, allocations: 3.938 kB / 446.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.589e-05/0.2713, allocations: 32 kB / 446.2 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.2713, allocations: 16 kB / 446.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.2726, allocations: 0.5517 MB / 446.8 MB, free: 6.938 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.003299/0.2759, allocations: 1.554 MB / 448.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.2777, allocations: 0.696 MB / 449 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007027/0.2784, allocations: 334.4 kB / 449.3 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.211e-05/0.2784, allocations: 16.59 kB / 449.4 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/0.2785, allocations: 51.16 kB / 449.4 MB, free: 4.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.755e-06/0.2785, allocations: 0 / 449.4 MB, free: 4.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004823/0.2833, allocations: 1.433 MB / 450.8 MB, free: 2.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000437/0.2838, allocations: 0.8234 MB / 451.7 MB, free: 1.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007421/0.2845, allocations: 0.5656 MB / 452.2 MB, free: 1.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/0.2846, allocations: 45.7 kB / 452.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/0.2849, allocations: 341.2 kB / 452.6 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/0.2851, allocations: 265.7 kB / 452.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002458/0.2854, allocations: 150.6 kB / 453 MB, free: 408 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.2856, allocations: 378.7 kB / 453.4 MB, free: 20 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006368/0.2862, allocations: 327 kB / 453.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.2875, allocations: 1.367 MB / 455.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.2887, allocations: 0.6349 MB / 455.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2887, allocations: 3.938 kB / 455.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002579/0.2913, allocations: 1.119 MB / 456.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.275e-05/0.2914, allocations: 89.09 kB / 456.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2914, allocations: 0 / 456.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007348/0.2921, allocations: 243.2 kB / 457.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005887/0.2927, allocations: 123.9 kB / 457.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008424/0.3011, allocations: 6.376 MB / 463.7 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008636/0.302, allocations: 87.56 kB / 463.7 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.387e-05/0.302, allocations: 24 kB / 463.8 MB, free: 4.793 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.0003723/0.3024, allocations: 221.6 kB / 464 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.3026, allocations: 87.53 kB / 464.1 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.3028, allocations: 86.75 kB / 464.2 MB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.3028, allocations: 8 kB / 464.2 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3028, allocations: 0 / 464.2 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002405/0.3052, allocations: 1.178 MB / 465.3 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0037/0.3089, allocations: 1.613 MB / 467 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3089, allocations: 3.938 kB / 467 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006436/0.3095, allocations: 124 kB / 467.1 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005765/0.3101, allocations: 202.6 kB / 467.3 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-05/0.3101, allocations: 19.98 kB / 467.3 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006552/0.3167, allocations: 4.909 MB / 472.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.3167, allocations: 3.984 kB / 472.2 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003112/0.3198, allocations: 1.309 MB / 473.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004048/0.3202, allocations: 155.3 kB / 473.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.3203, allocations: 20 kB / 473.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006236/0.321, allocations: 35.97 kB / 473.7 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.3211, allocations: 72.34 kB / 473.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/0.3212, allocations: 24 kB / 473.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005404/0.3217, allocations: 402.8 kB / 474.2 MB, free: 9.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3217, allocations: 4 kB / 474.2 MB, free: 9.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008862/0.3226, allocations: 287.7 kB / 474.5 MB, free: 9.539 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.0001758/0.3228, allocations: 119.2 kB / 474.6 MB, free: 9.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002137/0.3249, allocations: 1.337 MB / 475.9 MB, free: 7.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.3249, allocations: 4 kB / 476 MB, free: 7.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.3259, allocations: 0.6717 MB / 476.6 MB, free: 7.254 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009585/0.3269, allocations: 215 kB / 476.8 MB, free: 7.043 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.3299, allocations: 1.626 MB / 478.5 MB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.3303, allocations: 345.3 kB / 478.8 MB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000394/0.3307, allocations: 98.02 kB / 478.9 MB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.3308, allocations: 59.44 kB / 478.9 MB, free: 4.855 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3308, allocations: 0 / 478.9 MB, free: 4.855 MB / 382.1 MB Notification: Performance of Templates: time 0.03365/0.3645, allocations: 19.44 MB / 498.4 MB, free: 1.762 MB / 398.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/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: 5.237128272652626]