Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001305/0.001305, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 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.001481/0.001481, allocations: 209.3 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 47.92 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2244, allocations: 53.36 MB / 431.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.00593/0.2304, allocations: 4.439 MB / 436 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.2327, allocations: 1.269 MB / 437.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.233, allocations: 11.94 kB / 437.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003998/0.2334, allocations: 158.6 kB / 437.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006085/0.234, allocations: 333.3 kB / 437.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.2344, allocations: 223.6 kB / 438 MB, free: 296 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001215/0.2356, allocations: 1.156 MB / 439.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003812/0.236, allocations: 218.6 kB / 439.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000477/0.2364, allocations: 458.4 kB / 439.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005801/0.237, allocations: 438 kB / 440.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.2372, allocations: 107.9 kB / 440.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.2374, allocations: 104 kB / 440.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.2376, allocations: 219.3 kB / 440.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004521/0.238, allocations: 446.2 kB / 441.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.2392, allocations: 1.197 MB / 442.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2392, allocations: 0 / 442.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2392, allocations: 0 / 442.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.2392, allocations: 0 / 442.3 MB, free: 11.96 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.002353/0.2416, allocations: 1.265 MB / 443.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2416, allocations: 8.031 kB / 443.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.2418, allocations: 112.3 kB / 443.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009535/0.2428, allocations: 499.3 kB / 444.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000353/0.2431, allocations: 301.1 kB / 444.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.2432, allocations: 64.36 kB / 444.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.245, allocations: 1.597 MB / 446.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.245, allocations: 0 / 446.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.629e-05/0.2451, allocations: 28 kB / 446.1 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.2451, allocations: 16 kB / 446.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.2464, allocations: 0.5517 MB / 446.7 MB, free: 7.125 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.003191/0.2496, allocations: 1.562 MB / 448.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.2513, allocations: 0.6885 MB / 449 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006962/0.252, allocations: 346.4 kB / 449.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.361e-05/0.252, allocations: 16.64 kB / 449.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/0.2521, allocations: 51.2 kB / 449.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.174e-06/0.2521, allocations: 0 / 449.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004672/0.2567, allocations: 1.422 MB / 450.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000428/0.2572, allocations: 0.8272 MB / 451.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007111/0.2579, allocations: 0.5695 MB / 452.2 MB, free: 1.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.929e-05/0.2579, allocations: 45.7 kB / 452.2 MB, free: 1.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.2582, allocations: 345.1 kB / 452.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.2584, allocations: 265.7 kB / 452.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.2587, allocations: 150.7 kB / 453 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.2589, allocations: 386.7 kB / 453.3 MB, free: 192 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006217/0.2595, allocations: 323 kB / 453.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.2608, allocations: 1.363 MB / 455 MB, free: 14.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.262, allocations: 0.6389 MB / 455.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.262, allocations: 0 / 455.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002593/0.2646, allocations: 1.108 MB / 456.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.845e-05/0.2647, allocations: 97.09 kB / 456.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.2647, allocations: 0 / 456.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007222/0.2654, allocations: 231.2 kB / 457.1 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005811/0.266, allocations: 131.9 kB / 457.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008275/0.2742, allocations: 6.383 MB / 463.6 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.2752, allocations: 95.69 kB / 463.7 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.2753, allocations: 23.98 kB / 463.7 MB, free: 4.961 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.0004078/0.2758, allocations: 221.7 kB / 463.9 MB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.2759, allocations: 79.53 kB / 464 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.2761, allocations: 86.69 kB / 464.1 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.2761, allocations: 8 kB / 464.1 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.2761, allocations: 0 / 464.1 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003155/0.2793, allocations: 1.19 MB / 465.3 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004444/0.2837, allocations: 1.602 MB / 466.9 MB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2837, allocations: 0 / 466.9 MB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000621/0.2843, allocations: 131.8 kB / 467 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005541/0.2849, allocations: 198.6 kB / 467.2 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/0.2849, allocations: 16 kB / 467.2 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006332/0.2913, allocations: 4.909 MB / 472.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2913, allocations: 0 / 472.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003006/0.2943, allocations: 1.301 MB / 473.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004434/0.2947, allocations: 159.3 kB / 473.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.2949, allocations: 28.12 kB / 473.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000648/0.2955, allocations: 43.95 kB / 473.7 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.2957, allocations: 64.48 kB / 473.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/0.2957, allocations: 16 kB / 473.8 MB, free: 10.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005388/0.2963, allocations: 406.8 kB / 474.2 MB, free: 10.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2963, allocations: 0 / 474.2 MB, free: 10.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008912/0.2972, allocations: 287.7 kB / 474.4 MB, free: 9.727 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.0001701/0.2973, allocations: 131.1 kB / 474.6 MB, free: 9.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002164/0.2995, allocations: 1.326 MB / 475.9 MB, free: 8.148 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2995, allocations: 4.125 kB / 475.9 MB, free: 8.145 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.3005, allocations: 0.6715 MB / 476.6 MB, free: 7.438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009614/0.3015, allocations: 227 kB / 476.8 MB, free: 7.215 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.3045, allocations: 1.619 MB / 478.4 MB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.3049, allocations: 341.3 kB / 478.7 MB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003961/0.3053, allocations: 102 kB / 478.8 MB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.3054, allocations: 63.42 kB / 478.9 MB, free: 5.031 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3054, allocations: 4 kB / 478.9 MB, free: 5.027 MB / 382.1 MB Notification: Performance of Templates: time 0.03193/0.3374, allocations: 19.43 MB / 498.3 MB, free: 2 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 5.173409156501293]