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.00179/0.00179, allocations: 107 kB / 19.8 MB, free: 2.5 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.002246/0.002246, allocations: 215.8 kB / 23 MB, free: 5.57 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.454/1.454, allocations: 230.2 MB / 256.2 MB, free: 8.559 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.001866/0.001866, allocations: 63.89 kB / 376.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2314, allocations: 53.33 MB / 429.8 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006276/0.2377, allocations: 4.979 MB / 434.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.2399, allocations: 1.324 MB / 436.1 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.2401, allocations: 8 kB / 436.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004014/0.2405, allocations: 166.5 kB / 436.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005781/0.2411, allocations: 325.2 kB / 436.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.2415, allocations: 231.6 kB / 436.8 MB, free: 484 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.2427, allocations: 1.16 MB / 438 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003725/0.2431, allocations: 231.6 kB / 438.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004583/0.2435, allocations: 442.4 kB / 438.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000638/0.2442, allocations: 0.5019 MB / 439.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.2443, allocations: 100 kB / 439.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.2445, allocations: 104 kB / 439.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.2447, allocations: 215.3 kB / 439.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004958/0.2452, allocations: 0.5133 MB / 440.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.2464, allocations: 1.19 MB / 441.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2464, allocations: 0 / 441.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2464, allocations: 4 kB / 441.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.2464, allocations: 0 / 441.3 MB, free: 12.01 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.002356/0.2487, allocations: 1.34 MB / 442.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.2488, allocations: 8.031 kB / 442.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.249, allocations: 116.3 kB / 442.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008468/0.2498, allocations: 0.5596 MB / 443.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/0.25, allocations: 139 kB / 443.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.2501, allocations: 56.38 kB / 443.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.2515, allocations: 0.8472 MB / 444.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.2515, allocations: 4 kB / 444.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.257e-05/0.2516, allocations: 31.98 kB / 444.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.2516, allocations: 16 kB / 444.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.2529, allocations: 0.5517 MB / 444.9 MB, free: 8.117 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.003497/0.2564, allocations: 2.101 MB / 447 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.2582, allocations: 0.9177 MB / 447.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007096/0.259, allocations: 334.7 kB / 448.3 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.562e-05/0.259, allocations: 16.7 kB / 448.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.2591, allocations: 47.22 kB / 448.3 MB, free: 4.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.923e-06/0.2591, allocations: 0 / 448.3 MB, free: 4.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005118/0.2642, allocations: 1.738 MB / 450.1 MB, free: 2.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004304/0.2646, allocations: 0.8195 MB / 450.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008144/0.2654, allocations: 0.641 MB / 451.5 MB, free: 1.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/0.2655, allocations: 49.7 kB / 451.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.2658, allocations: 329.4 kB / 451.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/0.266, allocations: 269.7 kB / 452.2 MB, free: 396 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002508/0.2663, allocations: 146.7 kB / 452.3 MB, free: 244 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.2665, allocations: 394.6 kB / 452.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005586/0.267, allocations: 245.9 kB / 452.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008595/0.2679, allocations: 0.5234 MB / 453.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.2691, allocations: 0.6349 MB / 454.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2691, allocations: 0 / 454.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002592/0.2717, allocations: 1.052 MB / 455.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.438e-05/0.2718, allocations: 85.09 kB / 455.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.2718, allocations: 4 kB / 455.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007443/0.2725, allocations: 239.2 kB / 455.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006214/0.2731, allocations: 123.9 kB / 455.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008727/0.2819, allocations: 6.932 MB / 462.5 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008486/0.2827, allocations: 95.52 kB / 462.6 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.925e-05/0.2828, allocations: 28.08 kB / 462.6 MB, free: 5.145 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.0003511/0.2831, allocations: 213.7 kB / 462.8 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.2833, allocations: 95.47 kB / 462.9 MB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.2835, allocations: 87.34 kB / 463 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.2835, allocations: 11.94 kB / 463 MB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2835, allocations: 4 kB / 463 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002388/0.2859, allocations: 1.182 MB / 464.2 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003788/0.2897, allocations: 1.855 MB / 466.1 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.2897, allocations: 4 kB / 466.1 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000649/0.2903, allocations: 127.8 kB / 466.2 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005637/0.2909, allocations: 190.5 kB / 466.4 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.213e-05/0.2909, allocations: 23.98 kB / 466.4 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006768/0.2977, allocations: 5.315 MB / 471.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.2977, allocations: 8.094 kB / 471.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003068/0.3008, allocations: 1.317 MB / 473 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/0.3011, allocations: 240.4 kB / 473.3 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.3013, allocations: 27.92 kB / 473.3 MB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005926/0.3019, allocations: 35.97 kB / 473.3 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.302, allocations: 56.58 kB / 473.4 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.372e-05/0.3021, allocations: 16 kB / 473.4 MB, free: 9.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006247/0.3027, allocations: 467 kB / 473.9 MB, free: 9.223 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3027, allocations: 0 / 473.9 MB, free: 9.223 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008851/0.3036, allocations: 287.7 kB / 474.2 MB, free: 8.941 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.0001727/0.3038, allocations: 126.1 kB / 474.3 MB, free: 8.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.3058, allocations: 1.258 MB / 475.5 MB, free: 7.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3058, allocations: 0 / 475.5 MB, free: 7.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.3068, allocations: 0.6717 MB / 476.2 MB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009562/0.3078, allocations: 226.9 kB / 476.4 MB, free: 6.535 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.3107, allocations: 1.625 MB / 478.1 MB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005992/0.3113, allocations: 0.9362 MB / 479 MB, free: 3.906 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003778/0.3117, allocations: 110.4 kB / 479.1 MB, free: 3.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.3118, allocations: 67.42 kB / 479.2 MB, free: 3.727 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3118, allocations: 0 / 479.2 MB, free: 3.727 MB / 382.1 MB Notification: Performance of Templates: time 0.03012/0.3419, allocations: 18.51 MB / 497.7 MB, free: 1.469 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.124246036633849]