Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 185 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 47.91 kB / 371.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2451, allocations: 52.18 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005858/0.2509, allocations: 4.429 MB / 428.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.2532, allocations: 1.227 MB / 429.5 MB, free: 8.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002823/0.2535, allocations: 19.94 kB / 429.5 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004193/0.2539, allocations: 162.6 kB / 429.7 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006114/0.2545, allocations: 325.3 kB / 430 MB, free: 8.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.255, allocations: 219.6 kB / 430.2 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.2562, allocations: 1.164 MB / 431.3 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003618/0.2565, allocations: 218.6 kB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004766/0.257, allocations: 466.4 kB / 432 MB, free: 6.238 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005588/0.2576, allocations: 441.9 kB / 432.4 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.2577, allocations: 100 kB / 432.5 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.2579, allocations: 104 kB / 432.6 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.2581, allocations: 215.3 kB / 432.9 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004207/0.2585, allocations: 442.2 kB / 433.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.2597, allocations: 1.201 MB / 434.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2597, allocations: 0 / 434.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2597, allocations: 0 / 434.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.2598, allocations: 0 / 434.5 MB, free: 3.758 MB / 334.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.002541/0.2623, allocations: 1.265 MB / 435.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2623, allocations: 12.03 kB / 435.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.2625, allocations: 108.3 kB / 435.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000901/0.2634, allocations: 499.3 kB / 436.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003111/0.2637, allocations: 305.2 kB / 436.7 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.2638, allocations: 68.31 kB / 436.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.2657, allocations: 1.596 MB / 438.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.2657, allocations: 4 kB / 438.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.517e-05/0.2658, allocations: 28 kB / 438.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.2658, allocations: 12 kB / 438.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.2669, allocations: 0.5556 MB / 438.9 MB, free: 14.91 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.003202/0.2701, allocations: 1.555 MB / 440.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.2719, allocations: 0.6961 MB / 441.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006959/0.2726, allocations: 335.9 kB / 441.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.953e-05/0.2726, allocations: 8.656 kB / 441.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/0.2727, allocations: 51.16 kB / 441.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.535e-06/0.2727, allocations: 0 / 441.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004722/0.2774, allocations: 1.437 MB / 443 MB, free: 10.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004731/0.2778, allocations: 0.8195 MB / 443.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007524/0.2786, allocations: 0.5617 MB / 444.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.584e-05/0.2787, allocations: 45.7 kB / 444.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003071/0.279, allocations: 353.2 kB / 444.8 MB, free: 8.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.2792, allocations: 269.7 kB / 445 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/0.2795, allocations: 150.6 kB / 445.2 MB, free: 8.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.2797, allocations: 378.7 kB / 445.5 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005977/0.2803, allocations: 330.9 kB / 445.9 MB, free: 7.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.2815, allocations: 1.36 MB / 447.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.2827, allocations: 0.6388 MB / 447.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2827, allocations: 0 / 447.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00248/0.2852, allocations: 1.119 MB / 449 MB, free: 4.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.555e-05/0.2852, allocations: 89.09 kB / 449.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2852, allocations: 0 / 449.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007188/0.286, allocations: 235.2 kB / 449.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005673/0.2865, allocations: 127.9 kB / 449.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008308/0.2948, allocations: 6.379 MB / 455.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000902/0.2957, allocations: 91.56 kB / 455.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.857e-05/0.2958, allocations: 20 kB / 455.9 MB, free: 12.76 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.0004104/0.2962, allocations: 225.6 kB / 456.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.2964, allocations: 83.48 kB / 456.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.2965, allocations: 90.75 kB / 456.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-06/0.2965, allocations: 4 kB / 456.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2965, allocations: 4 kB / 456.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002397/0.2989, allocations: 1.178 MB / 457.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003621/0.3026, allocations: 1.609 MB / 459.1 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3026, allocations: 0 / 459.1 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006321/0.3032, allocations: 135.7 kB / 459.2 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005647/0.3038, allocations: 198.6 kB / 459.4 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-05/0.3038, allocations: 19.98 kB / 459.4 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006583/0.3104, allocations: 4.897 MB / 464.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3104, allocations: 4.031 kB / 464.3 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003134/0.3135, allocations: 1.309 MB / 465.7 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004265/0.3139, allocations: 159.2 kB / 465.8 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.3141, allocations: 20 kB / 465.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006073/0.3147, allocations: 39.97 kB / 465.9 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/0.3149, allocations: 68.41 kB / 465.9 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.3149, allocations: 20 kB / 466 MB, free: 2.188 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005639/0.3155, allocations: 406.8 kB / 466.4 MB, free: 1.793 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3155, allocations: 0 / 466.4 MB, free: 1.793 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009415/0.3164, allocations: 283.7 kB / 466.6 MB, free: 1.516 MB / 366.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.0001888/0.3166, allocations: 123.2 kB / 466.8 MB, free: 1.383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002249/0.3188, allocations: 1.345 MB / 468.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/0.3188, allocations: 4 kB / 468.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.3199, allocations: 0.6676 MB / 468.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009908/0.3209, allocations: 217.8 kB / 469 MB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003241/0.3241, allocations: 1.67 MB / 470.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.3245, allocations: 337.3 kB / 471 MB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.3247, allocations: 71.42 kB / 471.1 MB, free: 12.87 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3247, allocations: 0 / 471.1 MB, free: 12.87 MB / 382.1 MB Notification: Performance of Templates: time 0.02905/0.3538, allocations: 22.23 MB / 493.3 MB, free: 6.719 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.504893744830042]