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.00175/0.00175, allocations: 82.28 kB / 20.68 MB, free: 1.035 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.001883/0.001883, allocations: 151.5 kB / 23.94 MB, free: 4.184 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.46/1.46, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.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 1.513e-06/1.513e-06, allocations: 0 / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.247e-05, allocations: 3.969 kB / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004571/0.004593, allocations: 4.401 MB / 323.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.006828, allocations: 1.246 MB / 324.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003178/0.007146, allocations: 12.88 kB / 324.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004862/0.007632, allocations: 163.2 kB / 324.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000783/0.008415, allocations: 340.8 kB / 325.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005037/0.008919, allocations: 231.9 kB / 325.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001449/0.01037, allocations: 1.214 MB / 326.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004198/0.01079, allocations: 215.6 kB / 326.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009497/0.01174, allocations: 0.6678 MB / 327.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006178/0.01236, allocations: 372.1 kB / 327.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.01252, allocations: 101.2 kB / 327.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.01272, allocations: 105 kB / 328 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.01296, allocations: 223.6 kB / 328.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005273/0.01349, allocations: 386.6 kB / 328.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.01496, allocations: 1.233 MB / 329.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.01496, allocations: 0.7969 kB / 329.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01497, allocations: 1.312 kB / 329.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.01498, allocations: 0 / 329.8 MB, free: 13.23 MB / 302.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.002686/0.01767, allocations: 1.255 MB / 331 MB, free: 12.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.0177, allocations: 8.344 kB / 331.1 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002206/0.01792, allocations: 113.4 kB / 331.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009667/0.01889, allocations: 499.4 kB / 331.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003286/0.01922, allocations: 300.3 kB / 331.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.01933, allocations: 64.2 kB / 332 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.02137, allocations: 1.599 MB / 333.6 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.02139, allocations: 192 / 333.6 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.298e-05/0.02147, allocations: 33 kB / 333.6 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.02148, allocations: 14 kB / 333.7 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.02282, allocations: 0.5514 MB / 334.2 MB, free: 9.672 MB / 302.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.003526/0.02634, allocations: 1.556 MB / 335.8 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.02824, allocations: 0.7021 MB / 336.5 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007403/0.02898, allocations: 340.2 kB / 336.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.487e-05/0.02903, allocations: 14.28 kB / 336.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/0.02908, allocations: 50.09 kB / 336.9 MB, free: 8.016 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.334e-06/0.02908, allocations: 0 / 336.9 MB, free: 8.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005192/0.03427, allocations: 1.434 MB / 338.3 MB, free: 7.293 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004822/0.03476, allocations: 0.8237 MB / 339.1 MB, free: 6.285 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007466/0.0355, allocations: 0.5611 MB / 339.7 MB, free: 5.957 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.969e-05/0.03559, allocations: 49.56 kB / 339.7 MB, free: 5.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.0359, allocations: 339.8 kB / 340.1 MB, free: 5.613 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/0.03614, allocations: 260.2 kB / 340.3 MB, free: 5.387 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002645/0.0364, allocations: 145.6 kB / 340.5 MB, free: 5.301 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.03661, allocations: 382.6 kB / 340.8 MB, free: 4.934 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006801/0.03729, allocations: 330.9 kB / 341.1 MB, free: 4.684 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.03868, allocations: 1.36 MB / 342.5 MB, free: 3.012 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.04001, allocations: 0.6427 MB / 343.2 MB, free: 2.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.04001, allocations: 0 / 343.2 MB, free: 2.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002785/0.04279, allocations: 1.115 MB / 344.3 MB, free: 1.172 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.549e-05/0.04287, allocations: 93.03 kB / 344.4 MB, free: 1.062 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.04288, allocations: 1.641 kB / 344.4 MB, free: 1.062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007747/0.04365, allocations: 239.2 kB / 344.6 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/0.04429, allocations: 127.8 kB / 344.7 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008896/0.05319, allocations: 6.379 MB / 351.1 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009331/0.05412, allocations: 87.56 kB / 351.2 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.785e-05/0.05419, allocations: 24.17 kB / 351.2 MB, free: 9.793 MB / 318.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.0004051/0.05459, allocations: 217.8 kB / 351.4 MB, free: 9.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.05476, allocations: 95.42 kB / 351.5 MB, free: 9.477 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.05495, allocations: 86.75 kB / 351.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.05496, allocations: 8 kB / 351.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.05497, allocations: 3.938 kB / 351.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002598/0.05757, allocations: 1.178 MB / 352.8 MB, free: 8.086 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003958/0.06153, allocations: 1.613 MB / 354.4 MB, free: 6.414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.06153, allocations: 0 / 354.4 MB, free: 6.414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006993/0.06223, allocations: 127.9 kB / 354.5 MB, free: 6.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006186/0.06285, allocations: 198.4 kB / 354.7 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.687e-05/0.0629, allocations: 16 kB / 354.7 MB, free: 6.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006983/0.06989, allocations: 4.889 MB / 359.6 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.06989, allocations: 0 / 359.6 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003607/0.0735, allocations: 1.313 MB / 360.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004426/0.07394, allocations: 155.3 kB / 361.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.07406, allocations: 20 kB / 361.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006912/0.07475, allocations: 43.95 kB / 361.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/0.07496, allocations: 64.73 kB / 361.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-05/0.07501, allocations: 20 kB / 361.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005834/0.0756, allocations: 406.8 kB / 361.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.0756, allocations: 0 / 361.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000992/0.07659, allocations: 283.7 kB / 361.9 MB, free: 14.57 MB / 334.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.0001965/0.07678, allocations: 123.1 kB / 362 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002277/0.07906, allocations: 1.341 MB / 363.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.07907, allocations: 8 kB / 363.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.08018, allocations: 0.6755 MB / 364.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.08125, allocations: 214.8 kB / 364.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003027/0.08428, allocations: 1.478 MB / 365.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.08465, allocations: 349.3 kB / 366.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003958/0.08505, allocations: 98.02 kB / 366.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.08523, allocations: 64.48 kB / 366.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of SimCode: time 7.81e-07/0.08523, allocations: 0 / 366.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of Templates: time 0.0321/0.1173, allocations: 18.18 MB / 384.4 MB, free: 8.168 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/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: 5.115704424679279]