Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.0009472/0.0009472, allocations: 79.59 kB / 21.18 MB, free: 3.391 MB / 18.57 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.0009085/0.0009085, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 18.57 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 0.9143/0.9143, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.441e-05, allocations: 2.312 kB / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.009104/0.009129, allocations: 5.628 MB / 278.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006074/0.0152, allocations: 1.441 MB / 280 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007812/0.01598, allocations: 15.88 kB / 280 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005984/0.01658, allocations: 190.3 kB / 280.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.01829, allocations: 424.3 kB / 280.6 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000801/0.01909, allocations: 263.5 kB / 280.9 MB, free: 9.574 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.02096, allocations: 1.416 MB / 282.3 MB, free: 8.152 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005561/0.02151, allocations: 271.6 kB / 282.6 MB, free: 7.863 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008321/0.02235, allocations: 0.7835 MB / 283.4 MB, free: 7.078 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004039/0.02275, allocations: 438.8 kB / 283.8 MB, free: 6.648 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.02286, allocations: 120 kB / 283.9 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.02298, allocations: 120 kB / 284 MB, free: 6.414 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.02312, allocations: 259.1 kB / 284.3 MB, free: 6.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002872/0.0234, allocations: 451 kB / 284.7 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007051/0.02411, allocations: 0.9069 MB / 285.6 MB, free: 4.809 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.02411, allocations: 0 / 285.6 MB, free: 4.809 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.02411, allocations: 0 / 285.6 MB, free: 4.809 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.02412, allocations: 0 / 285.6 MB, free: 4.809 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.001434/0.02556, allocations: 1.54 MB / 287.2 MB, free: 3.211 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.02559, allocations: 8.031 kB / 287.2 MB, free: 3.203 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.02577, allocations: 192.1 kB / 287.4 MB, free: 3.016 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005612/0.02634, allocations: 0.5512 MB / 287.9 MB, free: 2.434 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.0265, allocations: 305.9 kB / 288.2 MB, free: 2.082 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.482e-05/0.02659, allocations: 92.36 kB / 288.3 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.02763, allocations: 1.762 MB / 290.1 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.02764, allocations: 192 / 290.1 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.242e-05/0.0277, allocations: 40.12 kB / 290.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.02771, allocations: 16 kB / 290.1 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004812/0.02819, allocations: 339.7 kB / 290.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/0.03033, allocations: 1.816 MB / 292.3 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.03153, allocations: 0.5698 MB / 292.8 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.03182, allocations: 201.5 kB / 293 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.03187, allocations: 20.66 kB / 293.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.0319, allocations: 50.81 kB / 293.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=72): time 1.674e-06/0.0319, allocations: 0 / 293.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.001101/0.033, allocations: 0.7261 MB / 293.8 MB, free: 11.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002592/0.03326, allocations: 0.945 MB / 294.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/0.03379, allocations: 0.7181 MB / 295.5 MB, free: 10.08 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.03383, allocations: 41.7 kB / 295.5 MB, free: 10.03 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.03407, allocations: 487.5 kB / 296 MB, free: 9.551 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.0342, allocations: 265.6 kB / 296.3 MB, free: 9.289 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.03436, allocations: 168.3 kB / 296.4 MB, free: 9.117 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.03447, allocations: 0.5004 MB / 296.9 MB, free: 8.609 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.0347, allocations: 215 kB / 297.1 MB, free: 8.379 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006538/0.03536, allocations: 1.5 MB / 298.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004679/0.03582, allocations: 462 kB / 299.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.03583, allocations: 0 / 299.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0008021/0.03663, allocations: 0.8256 MB / 299.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/0.03667, allocations: 85.11 kB / 300 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.03668, allocations: 4 kB / 300 MB, free: 4.992 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002506/0.03693, allocations: 122.3 kB / 300.1 MB, free: 4.852 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/0.03728, allocations: 151.9 kB / 300.3 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1113/0.1486, allocations: 8.891 MB / 309.2 MB, free: 34.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005698/0.1492, allocations: 90.34 kB / 309.3 MB, free: 34.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.1492, allocations: 27.06 kB / 309.3 MB, free: 34.83 MB / 282.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.0002013/0.1494, allocations: 214.6 kB / 309.5 MB, free: 34.67 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.1496, allocations: 122.5 kB / 309.6 MB, free: 34.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.016e-05/0.1496, allocations: 95.12 kB / 309.7 MB, free: 34.65 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1496, allocations: 9.25 kB / 309.7 MB, free: 34.65 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1496, allocations: 1.375 kB / 309.7 MB, free: 34.65 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005716/0.1502, allocations: 0.766 MB / 310.5 MB, free: 34.1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.1517, allocations: 1.323 MB / 311.8 MB, free: 33.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1517, allocations: 0.8438 kB / 311.8 MB, free: 33.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/0.1522, allocations: 155.1 kB / 312 MB, free: 33.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.115e-05/0.1523, allocations: 30.75 kB / 312 MB, free: 33.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/0.1523, allocations: 16.38 kB / 312 MB, free: 33.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004716/0.1528, allocations: 1.753 MB / 313.8 MB, free: 31.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1528, allocations: 0.75 kB / 313.8 MB, free: 31.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008911/0.1537, allocations: 0.7785 MB / 314.5 MB, free: 31.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.1539, allocations: 175.9 kB / 314.7 MB, free: 31.7 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.77e-05/0.154, allocations: 23.86 kB / 314.7 MB, free: 31.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.1543, allocations: 39.45 kB / 314.8 MB, free: 31.7 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.1544, allocations: 47.2 kB / 314.8 MB, free: 31.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.1544, allocations: 21.42 kB / 314.8 MB, free: 31.69 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003935/0.1548, allocations: 466.4 kB / 315.3 MB, free: 31.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1548, allocations: 0 / 315.3 MB, free: 31.55 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007116/0.1555, allocations: 310.7 kB / 315.6 MB, free: 31.54 MB / 282.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.0001284/0.1556, allocations: 121.8 kB / 315.7 MB, free: 31.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.1568, allocations: 1.521 MB / 317.2 MB, free: 30.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1568, allocations: 2.625 kB / 317.2 MB, free: 30.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003634/0.1572, allocations: 379.6 kB / 317.6 MB, free: 30.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008694/0.1581, allocations: 282.5 kB / 317.9 MB, free: 30.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.1604, allocations: 1.536 MB / 319.4 MB, free: 29.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.1605, allocations: 175.5 kB / 319.6 MB, free: 29.26 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003972/0.1609, allocations: 119.2 kB / 319.7 MB, free: 29.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.1611, allocations: 77.83 kB / 319.8 MB, free: 29.22 MB / 282.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1611, allocations: 4 kB / 319.8 MB, free: 29.22 MB / 282.7 MB Notification: Performance of Templates: time 0.02225/0.1833, allocations: 19.73 MB / 339.5 MB, free: 14.95 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.2452159798704088]