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.001757/0.001757, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002089/0.002089, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.525/1.525, allocations: 230.6 MB / 258.2 MB, free: 7.773 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.001584/0.001584, allocations: 51.92 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2169, allocations: 53.36 MB / 432.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.00592/0.2229, allocations: 4.433 MB / 436.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.2251, allocations: 1.269 MB / 438 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/0.2253, allocations: 11.94 kB / 438 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003927/0.2257, allocations: 162.5 kB / 438.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006249/0.2263, allocations: 325.3 kB / 438.5 MB, free: 480 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.2267, allocations: 231.6 kB / 438.7 MB, free: 248 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001222/0.228, allocations: 1.157 MB / 439.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003702/0.2283, allocations: 226.6 kB / 440.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004715/0.2288, allocations: 462.4 kB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005928/0.2294, allocations: 0.498 MB / 441.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.2295, allocations: 104 kB / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.2297, allocations: 100 kB / 441.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.2299, allocations: 219.3 kB / 441.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000454/0.2304, allocations: 446.1 kB / 441.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.2316, allocations: 1.194 MB / 443.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2316, allocations: 4 kB / 443.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2316, allocations: 0 / 443.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.2316, allocations: 0 / 443.1 MB, free: 11.84 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.002488/0.2341, allocations: 1.268 MB / 444.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.2341, allocations: 8.031 kB / 444.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.2343, allocations: 112.3 kB / 444.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009027/0.2352, allocations: 499.3 kB / 445 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002995/0.2355, allocations: 305.1 kB / 445.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.2356, allocations: 56.38 kB / 445.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.2375, allocations: 1.601 MB / 446.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.2375, allocations: 0 / 446.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.843e-05/0.2376, allocations: 35.98 kB / 447 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.2376, allocations: 16 kB / 447 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.239, allocations: 0.5517 MB / 447.5 MB, free: 6.992 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.003313/0.2423, allocations: 1.554 MB / 449.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.2441, allocations: 0.7001 MB / 449.8 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006992/0.2448, allocations: 334.4 kB / 450.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.096e-05/0.2448, allocations: 8.656 kB / 450.1 MB, free: 4.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.2449, allocations: 51.22 kB / 450.2 MB, free: 4.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.254e-06/0.2449, allocations: 4 kB / 450.2 MB, free: 4.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005043/0.2499, allocations: 1.429 MB / 451.6 MB, free: 2.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004287/0.2503, allocations: 0.8195 MB / 452.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007589/0.2511, allocations: 0.5656 MB / 453 MB, free: 1.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.672e-05/0.2512, allocations: 41.7 kB / 453 MB, free: 1.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000298/0.2515, allocations: 349.2 kB / 453.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/0.2517, allocations: 273.7 kB / 453.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.252, allocations: 146.7 kB / 453.8 MB, free: 460 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.2522, allocations: 384.3 kB / 454.2 MB, free: 68 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006271/0.2528, allocations: 326.9 kB / 454.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.2541, allocations: 1.367 MB / 455.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.2553, allocations: 0.631 MB / 456.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.2553, allocations: 0 / 456.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002644/0.258, allocations: 1.119 MB / 457.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.854e-05/0.258, allocations: 85.09 kB / 457.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.258, allocations: 4 kB / 457.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007382/0.2588, allocations: 235.2 kB / 457.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/0.2594, allocations: 127.9 kB / 458.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008284/0.2677, allocations: 6.387 MB / 464.4 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008084/0.2685, allocations: 87.56 kB / 464.5 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.158e-05/0.2686, allocations: 24 kB / 464.5 MB, free: 4.84 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.0003607/0.2689, allocations: 225.7 kB / 464.8 MB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.2691, allocations: 87.52 kB / 464.9 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.2693, allocations: 90.69 kB / 464.9 MB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.2693, allocations: 8 kB / 465 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2693, allocations: 0 / 465 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002435/0.2717, allocations: 1.178 MB / 466.1 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003658/0.2754, allocations: 1.609 MB / 467.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2754, allocations: 0 / 467.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006869/0.2761, allocations: 127.8 kB / 467.9 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005817/0.2766, allocations: 202.5 kB / 468.1 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.798e-05/0.2767, allocations: 15.98 kB / 468.1 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006468/0.2832, allocations: 4.898 MB / 473 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.2832, allocations: 4.047 kB / 473 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003067/0.2862, allocations: 1.305 MB / 474.3 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.2866, allocations: 167.2 kB / 474.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.2867, allocations: 12 kB / 474.5 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006162/0.2873, allocations: 43.91 kB / 474.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.2875, allocations: 68.47 kB / 474.6 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.2875, allocations: 20 kB / 474.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005149/0.288, allocations: 410.8 kB / 475 MB, free: 9.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.288, allocations: 0 / 475 MB, free: 9.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008582/0.2889, allocations: 287.7 kB / 475.3 MB, free: 9.594 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.0001667/0.2891, allocations: 119.2 kB / 475.4 MB, free: 9.465 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002088/0.2912, allocations: 1.337 MB / 476.7 MB, free: 8.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.2912, allocations: 4 kB / 476.7 MB, free: 8.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.2922, allocations: 0.6756 MB / 477.4 MB, free: 7.305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009575/0.2931, allocations: 215.1 kB / 477.6 MB, free: 7.094 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.296, allocations: 1.627 MB / 479.2 MB, free: 5.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.2964, allocations: 345.3 kB / 479.6 MB, free: 5.066 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003625/0.2967, allocations: 102 kB / 479.7 MB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.2969, allocations: 55.44 kB / 479.7 MB, free: 4.91 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2969, allocations: 0 / 479.7 MB, free: 4.91 MB / 382.1 MB Notification: Performance of Templates: time 0.0315/0.3284, allocations: 19.64 MB / 499.4 MB, free: 1.672 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 -s gbode -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/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_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.174790619988926]