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.0008962/0.0008962, allocations: 85.05 kB / 21.5 MB, free: 2.984 MB / 18.57 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.000937/0.000937, allocations: 145.5 kB / 24.89 MB, free: 8.727 MB / 18.57 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 0.9723/0.9723, allocations: 173.4 MB / 201.5 MB, free: 8.234 MB / 186.7 MB " [Timeout remaining time 179] 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.443e-06/1.443e-06, allocations: 0 / 268.5 MB, free: 9.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.335e-05, allocations: 5.125 kB / 268.5 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.00427/0.004293, allocations: 4.896 MB / 273.4 MB, free: 4.875 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.00656, allocations: 1.325 MB / 274.7 MB, free: 3.551 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003318/0.006891, allocations: 15.88 kB / 274.7 MB, free: 3.535 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.007251, allocations: 170.5 kB / 274.9 MB, free: 3.367 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005431/0.007794, allocations: 345 kB / 275.2 MB, free: 3.027 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.008148, allocations: 231.5 kB / 275.5 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000943/0.009091, allocations: 1.21 MB / 276.7 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003057/0.009397, allocations: 232.5 kB / 276.9 MB, free: 1.336 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006863/0.01008, allocations: 0.6705 MB / 277.6 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004134/0.0105, allocations: 367 kB / 277.9 MB, free: 312 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.0106, allocations: 104 kB / 278 MB, free: 208 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.0107, allocations: 104 kB / 278.1 MB, free: 104 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.01082, allocations: 223.2 kB / 278.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002696/0.01109, allocations: 387.2 kB / 278.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006231/0.01172, allocations: 0.7746 MB / 279.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.01172, allocations: 0 / 279.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01172, allocations: 0 / 279.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.01173, allocations: 0 / 279.5 MB, free: 14.73 MB / 266.7 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.001251/0.01299, allocations: 1.22 MB / 280.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.01302, allocations: 8.031 kB / 280.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.01315, allocations: 128.8 kB / 280.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.01358, allocations: 369.3 kB / 281.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.01375, allocations: 297.2 kB / 281.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.01382, allocations: 76.38 kB / 281.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008096/0.01463, allocations: 1.406 MB / 283 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.01465, allocations: 4.172 kB / 283 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.01469, allocations: 32.12 kB / 283 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.01469, allocations: 12 kB / 283 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.01498, allocations: 202.3 kB / 283.2 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.01652, allocations: 1.08 MB / 284.3 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/0.01705, allocations: 370.1 kB / 284.7 MB, free: 9.117 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.01724, allocations: 166.5 kB / 284.8 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/0.01728, allocations: 16.66 kB / 284.9 MB, free: 8.938 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.01731, allocations: 47.22 kB / 284.9 MB, free: 8.883 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 2.865e-06/0.01731, allocations: 0 / 284.9 MB, free: 8.883 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001546/0.01886, allocations: 0.8364 MB / 285.7 MB, free: 8.027 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002201/0.01908, allocations: 0.8234 MB / 286.6 MB, free: 7.008 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.01938, allocations: 471.2 kB / 287 MB, free: 6.539 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.01942, allocations: 45.7 kB / 287.1 MB, free: 6.488 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.01953, allocations: 262.3 kB / 287.3 MB, free: 6.223 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.01966, allocations: 261.7 kB / 287.6 MB, free: 5.965 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.0198, allocations: 154.5 kB / 287.7 MB, free: 5.809 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.01991, allocations: 382.6 kB / 288.1 MB, free: 5.426 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.02005, allocations: 163.1 kB / 288.3 MB, free: 5.246 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004641/0.02051, allocations: 1.173 MB / 289.4 MB, free: 3.766 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.02082, allocations: 366 kB / 289.8 MB, free: 3.379 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.02082, allocations: 3.984 kB / 289.8 MB, free: 3.375 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007279/0.02155, allocations: 0.6687 MB / 290.5 MB, free: 2.652 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/0.0216, allocations: 91.44 kB / 290.6 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.02161, allocations: 4.062 kB / 290.6 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003503/0.02196, allocations: 163.2 kB / 290.7 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.02232, allocations: 161.7 kB / 290.9 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003154/0.02548, allocations: 5.333 MB / 296.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.02581, allocations: 75.59 kB / 296.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.02584, allocations: 23.98 kB / 296.3 MB, free: 12.44 MB / 282.7 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.0001638/0.026, allocations: 157.7 kB / 296.5 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.213e-05/0.02608, allocations: 79.92 kB / 296.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.318e-05/0.02617, allocations: 86.75 kB / 296.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.02617, allocations: 11.98 kB / 296.6 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.02618, allocations: 4 kB / 296.6 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000677/0.02685, allocations: 0.7723 MB / 297.4 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.02812, allocations: 0.9733 MB / 298.4 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.02812, allocations: 0 / 298.4 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000362/0.02849, allocations: 153.9 kB / 298.5 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002718/0.02876, allocations: 142.5 kB / 298.7 MB, free: 9.906 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.02879, allocations: 16 kB / 298.7 MB, free: 9.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.03099, allocations: 4.022 MB / 302.7 MB, free: 5.609 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.03099, allocations: 0 / 302.7 MB, free: 5.609 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008277/0.03182, allocations: 0.7079 MB / 303.4 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.03199, allocations: 91.48 kB / 303.5 MB, free: 4.777 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.03204, allocations: 27.94 kB / 303.5 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.03229, allocations: 31.98 kB / 303.6 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.03239, allocations: 64.47 kB / 303.6 MB, free: 4.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.03242, allocations: 19.94 kB / 303.7 MB, free: 4.633 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001597/0.03258, allocations: 228.3 kB / 303.9 MB, free: 4.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03258, allocations: 0 / 303.9 MB, free: 4.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005787/0.03315, allocations: 291.7 kB / 304.2 MB, free: 4.125 MB / 282.7 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.0001244/0.03328, allocations: 104.3 kB / 304.3 MB, free: 4.016 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008106/0.03409, allocations: 1.069 MB / 305.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.0341, allocations: 8 kB / 305.3 MB, free: 2.832 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003616/0.03446, allocations: 0.5483 MB / 305.9 MB, free: 2.242 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.03495, allocations: 218.9 kB / 306.1 MB, free: 2.031 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.03678, allocations: 1.355 MB / 307.5 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.0369, allocations: 161.1 kB / 307.6 MB, free: 460 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000259/0.03715, allocations: 102 kB / 307.7 MB, free: 356 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005581/0.03771, allocations: 373 kB / 308.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.03771, allocations: 0 / 308.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of Templates: time 0.02154/0.05926, allocations: 19.92 MB / 328 MB, free: 12.48 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.109342466108501]