Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00144/0.00144, allocations: 82.91 kB / 22 MB, free: 5.18 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.00163/0.00163, allocations: 161.8 kB / 25.25 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 158.6 MB / 187 MB, free: 6.234 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 59.92 kB / 299.4 MB, free: 6.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2098, allocations: 49.14 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006205/0.216, allocations: 4.398 MB / 352.9 MB, free: 11.1 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002494/0.2185, allocations: 1.282 MB / 354.2 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002964/0.2188, allocations: 11.94 kB / 354.2 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004271/0.2193, allocations: 158.6 kB / 354.4 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000659/0.2199, allocations: 337.2 kB / 354.7 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.2204, allocations: 223.6 kB / 354.9 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001343/0.2217, allocations: 1.153 MB / 356.1 MB, free: 7.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004098/0.2221, allocations: 222.6 kB / 356.3 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005165/0.2226, allocations: 458.4 kB / 356.7 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006485/0.2233, allocations: 441.9 kB / 357.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.2235, allocations: 104 kB / 357.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.2236, allocations: 104 kB / 357.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.2239, allocations: 211.3 kB / 357.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005157/0.2244, allocations: 446.2 kB / 358 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.2257, allocations: 1.205 MB / 359.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2257, allocations: 0 / 359.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2257, allocations: 0 / 359.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.2257, allocations: 0 / 359.2 MB, free: 4.762 MB / 318.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.002509/0.2282, allocations: 1.269 MB / 360.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.2283, allocations: 11.98 kB / 360.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.2285, allocations: 116.3 kB / 360.6 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009707/0.2295, allocations: 0.4953 MB / 361.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003102/0.2298, allocations: 297.2 kB / 361.4 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.2299, allocations: 60.38 kB / 361.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.2317, allocations: 1.604 MB / 363.1 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.2317, allocations: 0 / 363.1 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.83e-05/0.2318, allocations: 28 kB / 363.1 MB, free: 480 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.2318, allocations: 16 kB / 363.1 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.2331, allocations: 0.5479 MB / 363.6 MB, free: 15.9 MB / 334.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.003323/0.2364, allocations: 1.558 MB / 365.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.2382, allocations: 0.6885 MB / 365.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007201/0.2389, allocations: 330.7 kB / 366.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.022e-05/0.239, allocations: 20.97 kB / 366.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.2391, allocations: 47.22 kB / 366.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.786e-06/0.2391, allocations: 0 / 366.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.005043/0.2441, allocations: 1.425 MB / 367.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005314/0.2446, allocations: 0.8234 MB / 368.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008204/0.2454, allocations: 0.5695 MB / 369.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.48e-05/0.2455, allocations: 45.7 kB / 369.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/0.2459, allocations: 341.3 kB / 369.5 MB, free: 9.781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/0.2461, allocations: 269.6 kB / 369.7 MB, free: 9.516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/0.2464, allocations: 142.7 kB / 369.9 MB, free: 9.371 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002261/0.2466, allocations: 386.7 kB / 370.3 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006186/0.2472, allocations: 327 kB / 370.6 MB, free: 8.648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.2487, allocations: 1.36 MB / 371.9 MB, free: 6.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.2499, allocations: 0.635 MB / 372.6 MB, free: 6.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2499, allocations: 0 / 372.6 MB, free: 6.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002797/0.2527, allocations: 1.119 MB / 373.7 MB, free: 5.145 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.862e-05/0.2528, allocations: 93.05 kB / 373.8 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2528, allocations: 0 / 373.8 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007537/0.2536, allocations: 231.3 kB / 374 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006041/0.2542, allocations: 127.8 kB / 374.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00866/0.2628, allocations: 6.395 MB / 380.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009254/0.2638, allocations: 87.56 kB / 380.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.337e-05/0.2638, allocations: 27.94 kB / 380.6 MB, free: 13.76 MB / 350.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.000384/0.2642, allocations: 221.8 kB / 380.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.2644, allocations: 83.53 kB / 380.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.2646, allocations: 86.73 kB / 381 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.2646, allocations: 8 kB / 381 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2646, allocations: 0 / 381 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002613/0.2672, allocations: 1.186 MB / 382.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003851/0.271, allocations: 1.609 MB / 383.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.271, allocations: 0 / 383.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006385/0.2717, allocations: 131.9 kB / 384 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005891/0.2723, allocations: 194.5 kB / 384.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.717e-05/0.2723, allocations: 19.94 kB / 384.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006518/0.2788, allocations: 4.897 MB / 389.1 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.2788, allocations: 192 / 389.1 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003261/0.2821, allocations: 1.317 MB / 390.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004644/0.2826, allocations: 159.3 kB / 390.5 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.2827, allocations: 20 kB / 390.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005971/0.2833, allocations: 36.16 kB / 390.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.2835, allocations: 64.48 kB / 390.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/0.2835, allocations: 27.97 kB / 390.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005765/0.2841, allocations: 406.8 kB / 391.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2841, allocations: 0 / 391.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008904/0.285, allocations: 287.7 kB / 391.4 MB, free: 2.52 MB / 350.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.0001818/0.2852, allocations: 119.1 kB / 391.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002202/0.2874, allocations: 1.333 MB / 392.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.2874, allocations: 4 kB / 392.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.2884, allocations: 0.6794 MB / 393.5 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009244/0.2894, allocations: 222.8 kB / 393.7 MB, free: 4 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.2925, allocations: 1.615 MB / 395.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.2929, allocations: 341.3 kB / 395.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003882/0.2933, allocations: 94.02 kB / 395.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.2934, allocations: 68.48 kB / 395.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of SimCode: time 1.323e-06/0.2934, allocations: 0 / 395.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of Templates: time 0.03209/0.3255, allocations: 18.34 MB / 414.2 MB, free: 11.43 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.390906756045297]