Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009572/0.0009572, allocations: 84.25 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001035/0.001035, allocations: 169.2 kB / 25.61 MB, free: 8.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9448/0.9448, allocations: 177 MB / 205.9 MB, free: 4.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.413e-05, allocations: 2.312 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.01141/0.01142, allocations: 5.517 MB / 279.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003455/0.01488, allocations: 1.425 MB / 281.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003293/0.01521, allocations: 19.88 kB / 281.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003936/0.0156, allocations: 194.3 kB / 281.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000624/0.01622, allocations: 428.3 kB / 281.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.01663, allocations: 263.5 kB / 281.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001138/0.01776, allocations: 1.42 MB / 283.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003199/0.01808, allocations: 263.6 kB / 283.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005685/0.01865, allocations: 0.7874 MB / 284.4 MB, free: 9.945 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000429/0.01908, allocations: 438.8 kB / 284.8 MB, free: 9.516 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.0192, allocations: 116 kB / 284.9 MB, free: 9.402 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.01933, allocations: 120 kB / 285.1 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.01948, allocations: 263.1 kB / 285.3 MB, free: 9.027 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002946/0.01977, allocations: 447.1 kB / 285.8 MB, free: 8.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006403/0.02042, allocations: 0.9069 MB / 286.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.02042, allocations: 8 kB / 286.7 MB, free: 7.672 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.02042, allocations: 0 / 286.7 MB, free: 7.672 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.02043, allocations: 0 / 286.7 MB, free: 7.672 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001653/0.02208, allocations: 1.536 MB / 288.2 MB, free: 6.078 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.02211, allocations: 8.031 kB / 288.2 MB, free: 6.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.02228, allocations: 192.2 kB / 288.4 MB, free: 5.883 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/0.02279, allocations: 0.5472 MB / 288.9 MB, free: 5.305 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.02294, allocations: 301.9 kB / 289.2 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.134e-05/0.02302, allocations: 88.33 kB / 289.3 MB, free: 4.871 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008747/0.0239, allocations: 1.716 MB / 291 MB, free: 2.777 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.02391, allocations: 192 / 291 MB, free: 2.777 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/0.02396, allocations: 40.12 kB / 291.1 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.02397, allocations: 20 kB / 291.1 MB, free: 2.719 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003288/0.0243, allocations: 277.7 kB / 291.4 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/0.02631, allocations: 1.7 MB / 293.1 MB, free: 0.707 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.02739, allocations: 0.5321 MB / 293.6 MB, free: 164 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.02763, allocations: 173.6 kB / 293.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.02766, allocations: 20.58 kB / 293.8 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.02769, allocations: 53.91 kB / 293.8 MB, free: 15.9 MB / 282.7 MB Notification: Performance of pre-optimization done (n=72): time 1.903e-06/0.0277, allocations: 4 kB / 293.9 MB, free: 15.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.0009192/0.02861, allocations: 0.6486 MB / 294.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004853/0.0291, allocations: 0.9567 MB / 295.5 MB, free: 14.04 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004433/0.02954, allocations: 0.6865 MB / 296.1 MB, free: 13.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.02959, allocations: 45.7 kB / 296.2 MB, free: 13.29 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.02982, allocations: 499.3 kB / 296.7 MB, free: 12.8 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.02995, allocations: 261.7 kB / 296.9 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.03011, allocations: 176.1 kB / 297.1 MB, free: 12.36 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.03022, allocations: 0.5003 MB / 297.6 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.03039, allocations: 175 kB / 297.8 MB, free: 11.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/0.03094, allocations: 1.473 MB / 299.2 MB, free: 9.785 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.0313, allocations: 413.9 kB / 299.7 MB, free: 9.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.0313, allocations: 4 kB / 299.7 MB, free: 9.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.000657/0.03196, allocations: 0.7514 MB / 300.4 MB, free: 8.523 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/0.032, allocations: 85.11 kB / 300.5 MB, free: 8.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.03201, allocations: 4.125 kB / 300.5 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001882/0.03219, allocations: 118.3 kB / 300.6 MB, free: 8.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.03254, allocations: 147.8 kB / 300.8 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003773/0.03632, allocations: 8.786 MB / 309.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.03667, allocations: 91.58 kB / 309.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.0367, allocations: 19.98 kB / 309.6 MB, free: 14.66 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001766/0.03688, allocations: 216.5 kB / 309.9 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.03699, allocations: 115.4 kB / 310 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.799e-05/0.03708, allocations: 99.94 kB / 310.1 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.03708, allocations: 8 kB / 310.1 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.03709, allocations: 0 / 310.1 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004916/0.03758, allocations: 0.7306 MB / 310.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.03872, allocations: 1.174 MB / 312 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.03873, allocations: 4 kB / 312 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.03908, allocations: 155.8 kB / 312.1 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.875e-05/0.03914, allocations: 23.67 kB / 312.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.03918, allocations: 12 kB / 312.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005673/0.03974, allocations: 1.737 MB / 313.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.03974, allocations: 0 / 313.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006602/0.0404, allocations: 0.7099 MB / 314.6 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.04061, allocations: 179.1 kB / 314.8 MB, free: 9.207 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.04067, allocations: 20 kB / 314.8 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/0.04097, allocations: 35.97 kB / 314.8 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.04102, allocations: 44.52 kB / 314.9 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.04105, allocations: 19.98 kB / 314.9 MB, free: 9.086 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002454/0.04129, allocations: 426.8 kB / 315.3 MB, free: 8.672 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04129, allocations: 4 kB / 315.3 MB, free: 8.668 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004239/0.04171, allocations: 311.6 kB / 315.6 MB, free: 8.363 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001025/0.04182, allocations: 123 kB / 315.8 MB, free: 8.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.04317, allocations: 1.486 MB / 317.2 MB, free: 6.598 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.04317, allocations: 0 / 317.2 MB, free: 6.598 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.04341, allocations: 350.5 kB / 317.6 MB, free: 6.234 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.044, allocations: 286.3 kB / 317.9 MB, free: 5.965 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.0457, allocations: 1.521 MB / 319.4 MB, free: 4.402 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.532e-05/0.0458, allocations: 169.5 kB / 319.6 MB, free: 4.211 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002699/0.04607, allocations: 122.9 kB / 319.7 MB, free: 4.086 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006643/0.04673, allocations: 493.9 kB / 320.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of SimCode: time 6.82e-07/0.04673, allocations: 4 kB / 320.2 MB, free: 3.598 MB / 298.7 MB Notification: Performance of Templates: time 0.0202/0.06693, allocations: 20.42 MB / 340.6 MB, free: 15.61 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.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.247142693027854]