Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.001426/0.001426, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001586/0.001586, allocations: 150.6 kB / 24.89 MB, free: 8.742 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.9642/0.9642, allocations: 173.3 MB / 201.5 MB, free: 9.152 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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 268.5 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.884e-05, allocations: 2.312 kB / 268.5 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007046/0.007074, allocations: 5.543 MB / 274 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00376/0.01083, allocations: 1.479 MB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007322/0.01157, allocations: 15.94 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005863/0.01215, allocations: 194.3 kB / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.01327, allocations: 420.4 kB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006177/0.01389, allocations: 267.5 kB / 276.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001714/0.0156, allocations: 1.424 MB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004645/0.01607, allocations: 283.6 kB / 278.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009928/0.01706, allocations: 0.7835 MB / 278.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000919/0.01798, allocations: 442.7 kB / 279.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001946/0.01818, allocations: 116 kB / 279.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.01835, allocations: 120 kB / 279.5 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.01854, allocations: 267.1 kB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004567/0.01899, allocations: 447.1 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.02003, allocations: 0.9147 MB / 281.2 MB, free: 9.375 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.02003, allocations: 0 / 281.2 MB, free: 9.375 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.02004, allocations: 0 / 281.2 MB, free: 9.375 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.02005, allocations: 0 / 281.2 MB, free: 9.375 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.001935/0.02199, allocations: 1.38 MB / 282.5 MB, free: 7.949 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.02202, allocations: 12.03 kB / 282.6 MB, free: 7.938 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.02217, allocations: 152.8 kB / 282.7 MB, free: 7.789 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.02268, allocations: 425.8 kB / 283.1 MB, free: 7.344 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.02286, allocations: 301.9 kB / 283.4 MB, free: 6.996 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.957e-05/0.02294, allocations: 88.33 kB / 283.5 MB, free: 6.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009299/0.02387, allocations: 1.643 MB / 285.1 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.02389, allocations: 4.188 kB / 285.1 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.02393, allocations: 40.12 kB / 285.2 MB, free: 4.887 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.02394, allocations: 16 kB / 285.2 MB, free: 4.871 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.02427, allocations: 229.8 kB / 285.4 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.02621, allocations: 1.281 MB / 286.7 MB, free: 3.336 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.02722, allocations: 494.5 kB / 287.2 MB, free: 2.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.02746, allocations: 162.7 kB / 287.3 MB, free: 2.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.426e-05/0.0275, allocations: 12.66 kB / 287.4 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.02754, allocations: 51.22 kB / 287.4 MB, free: 2.609 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.025e-06/0.02754, allocations: 0 / 287.4 MB, free: 2.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.0008407/0.02838, allocations: 0.533 MB / 287.9 MB, free: 2.055 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003332/0.02872, allocations: 0.9489 MB / 288.9 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.02911, allocations: 0.5819 MB / 289.5 MB, free: 296 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.02922, allocations: 41.7 kB / 289.5 MB, free: 248 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1024/0.1316, allocations: 318.8 kB / 289.8 MB, free: 30.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002998/0.1319, allocations: 264.5 kB / 290.1 MB, free: 30.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.1321, allocations: 156.4 kB / 290.2 MB, free: 30.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.572e-05/0.1321, allocations: 336.3 kB / 290.6 MB, free: 30.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.1323, allocations: 163.2 kB / 290.7 MB, free: 30.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/0.1328, allocations: 1.345 MB / 292.1 MB, free: 28.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004006/0.1332, allocations: 388.9 kB / 292.4 MB, free: 28.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.1332, allocations: 2.031 kB / 292.4 MB, free: 28.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006948/0.1339, allocations: 0.6146 MB / 293.1 MB, free: 28.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.1339, allocations: 92.97 kB / 293.2 MB, free: 28.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.1339, allocations: 5.109 kB / 293.2 MB, free: 28.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/0.1341, allocations: 92.53 kB / 293.3 MB, free: 28.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004873/0.1346, allocations: 183.5 kB / 293.4 MB, free: 28.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.1368, allocations: 5.99 MB / 299.4 MB, free: 22.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004385/0.1373, allocations: 92.2 kB / 299.5 MB, free: 22.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.1373, allocations: 20.2 kB / 299.5 MB, free: 22.39 MB / 266.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.0002064/0.1375, allocations: 165.3 kB / 299.7 MB, free: 22.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.1376, allocations: 87.12 kB / 299.8 MB, free: 22.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.542e-05/0.1377, allocations: 99.44 kB / 299.9 MB, free: 22.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1377, allocations: 10.84 kB / 299.9 MB, free: 22.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.1377, allocations: 0 / 299.9 MB, free: 22.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004258/0.1382, allocations: 0.6548 MB / 300.5 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.1393, allocations: 0.9057 MB / 301.4 MB, free: 21.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.1393, allocations: 1.156 kB / 301.4 MB, free: 21.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004745/0.1398, allocations: 193.9 kB / 301.6 MB, free: 21.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-05/0.1399, allocations: 28.94 kB / 301.7 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.1399, allocations: 16.23 kB / 301.7 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003564/0.1403, allocations: 1.178 MB / 302.9 MB, free: 20.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1403, allocations: 0 / 302.9 MB, free: 20.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006392/0.1409, allocations: 0.5589 MB / 303.4 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.1411, allocations: 100 kB / 303.5 MB, free: 20.06 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/0.1412, allocations: 24.38 kB / 303.5 MB, free: 20.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.1414, allocations: 34.34 kB / 303.6 MB, free: 20.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.1415, allocations: 50.12 kB / 303.6 MB, free: 20.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.1415, allocations: 12.19 kB / 303.6 MB, free: 20.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002618/0.1418, allocations: 291.7 kB / 303.9 MB, free: 20.03 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1418, allocations: 0 / 303.9 MB, free: 20.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005924/0.1424, allocations: 300.8 kB / 304.2 MB, free: 20.02 MB / 266.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.0001262/0.1425, allocations: 108 kB / 304.3 MB, free: 19.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008164/0.1433, allocations: 1.176 MB / 305.5 MB, free: 19.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/0.1433, allocations: 9.438 kB / 305.5 MB, free: 19.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.1436, allocations: 288.9 kB / 305.8 MB, free: 18.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006166/0.1442, allocations: 284.3 kB / 306.1 MB, free: 18.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.1462, allocations: 1.473 MB / 307.5 MB, free: 18.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.1463, allocations: 175.4 kB / 307.7 MB, free: 18.08 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003878/0.1467, allocations: 116.3 kB / 307.8 MB, free: 18.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007077/0.1474, allocations: 435.8 kB / 308.2 MB, free: 17.99 MB / 266.7 MB Notification: Performance of SimCode: time 1.453e-06/0.1474, allocations: 0 / 308.2 MB, free: 17.99 MB / 266.7 MB Notification: Performance of Templates: time 0.02005/0.1675, allocations: 20.31 MB / 328.6 MB, free: 0.9609 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.3307489627040923]