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.001343/0.001343, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001457/0.001457, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001564/0.001564, allocations: 47.92 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2292, allocations: 53.37 MB / 431.6 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006575/0.2357, allocations: 4.427 MB / 436 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002688/0.2384, allocations: 1.272 MB / 437.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005454/0.239, allocations: 11.94 kB / 437.3 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005685/0.2395, allocations: 162.6 kB / 437.5 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009958/0.2405, allocations: 333.2 kB / 437.8 MB, free: 484 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005671/0.2411, allocations: 223.6 kB / 438 MB, free: 260 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.2424, allocations: 1.153 MB / 439.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003876/0.2428, allocations: 230.6 kB / 439.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004782/0.2433, allocations: 458.5 kB / 439.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006415/0.2439, allocations: 0.4941 MB / 440.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.2441, allocations: 103.9 kB / 440.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.2443, allocations: 108 kB / 440.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.2445, allocations: 223.2 kB / 440.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004715/0.245, allocations: 446.2 kB / 441.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.2462, allocations: 1.194 MB / 442.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2462, allocations: 0 / 442.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2462, allocations: 0 / 442.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.2462, allocations: 0 / 442.4 MB, free: 11.85 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.002452/0.2486, allocations: 1.265 MB / 443.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.2487, allocations: 12.03 kB / 443.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.2489, allocations: 108.3 kB / 443.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008963/0.2497, allocations: 0.4914 MB / 444.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002924/0.25, allocations: 297.2 kB / 444.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.2502, allocations: 68.36 kB / 444.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.2522, allocations: 1.593 MB / 446.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.2523, allocations: 0 / 446.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.2524, allocations: 32 kB / 446.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.2524, allocations: 12 kB / 446.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.2536, allocations: 0.5517 MB / 446.8 MB, free: 7.012 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.003315/0.257, allocations: 1.554 MB / 448.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.2587, allocations: 0.7041 MB / 449 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007165/0.2594, allocations: 338.4 kB / 449.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-05/0.2595, allocations: 8.656 kB / 449.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.2596, allocations: 51.2 kB / 449.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.985e-06/0.2596, allocations: 0 / 449.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005068/0.2646, allocations: 1.43 MB / 450.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004554/0.2651, allocations: 0.8272 MB / 451.7 MB, free: 1.848 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007355/0.2658, allocations: 0.5656 MB / 452.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.024e-05/0.2659, allocations: 45.7 kB / 452.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.2662, allocations: 341.2 kB / 452.6 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/0.2664, allocations: 269.7 kB / 452.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/0.2667, allocations: 150.6 kB / 453 MB, free: 476 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.2669, allocations: 386.7 kB / 453.4 MB, free: 80 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006353/0.2675, allocations: 327.1 kB / 453.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.2689, allocations: 1.363 MB / 455.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.2701, allocations: 0.6388 MB / 455.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.2701, allocations: 0 / 455.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002661/0.2728, allocations: 1.112 MB / 456.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.975e-05/0.2728, allocations: 93.09 kB / 456.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2728, allocations: 0 / 456.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007526/0.2736, allocations: 227.3 kB / 457.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006436/0.2742, allocations: 135.8 kB / 457.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008449/0.2827, allocations: 6.387 MB / 463.7 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008333/0.2835, allocations: 87.62 kB / 463.8 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.07e-05/0.2836, allocations: 31.98 kB / 463.8 MB, free: 4.844 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.0003834/0.284, allocations: 213.7 kB / 464 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.2841, allocations: 79.53 kB / 464.1 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.2843, allocations: 86.75 kB / 464.2 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.2843, allocations: 8 kB / 464.2 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2843, allocations: 3.938 kB / 464.2 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002461/0.2868, allocations: 1.182 MB / 465.4 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00386/0.2906, allocations: 1.605 MB / 467 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.2906, allocations: 8.047 kB / 467 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007127/0.2913, allocations: 123.9 kB / 467.1 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005884/0.2919, allocations: 194.5 kB / 467.3 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/0.292, allocations: 20 kB / 467.3 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006608/0.2986, allocations: 4.906 MB / 472.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2986, allocations: 4.25 kB / 472.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003103/0.3017, allocations: 1.309 MB / 473.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003955/0.3021, allocations: 155.3 kB / 473.7 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.3022, allocations: 20 kB / 473.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006405/0.3029, allocations: 47.95 kB / 473.8 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.303, allocations: 64.48 kB / 473.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-05/0.3031, allocations: 20.11 kB / 473.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005122/0.3036, allocations: 402.8 kB / 474.2 MB, free: 9.898 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3036, allocations: 0 / 474.2 MB, free: 9.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008917/0.3045, allocations: 283.7 kB / 474.5 MB, free: 9.621 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.0001839/0.3047, allocations: 135.1 kB / 474.6 MB, free: 9.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002156/0.3068, allocations: 1.333 MB / 476 MB, free: 8.035 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.3068, allocations: 128 / 476 MB, free: 8.035 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.3079, allocations: 0.6832 MB / 476.7 MB, free: 7.316 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000985/0.3089, allocations: 206.9 kB / 476.9 MB, free: 7.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.312, allocations: 1.637 MB / 478.5 MB, free: 5.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.3124, allocations: 341.3 kB / 478.8 MB, free: 5.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003839/0.3128, allocations: 94.02 kB / 478.9 MB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.313, allocations: 67.42 kB / 479 MB, free: 4.918 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.313, allocations: 0 / 479 MB, free: 4.918 MB / 382.1 MB Notification: Performance of Templates: time 0.03327/0.3462, allocations: 19.63 MB / 498.6 MB, free: 1.695 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.206121947616339]