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.00166/0.00166, allocations: 114.5 kB / 18.45 MB, free: 4.602 MB / 14.72 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.001343/0.001343, allocations: 190.7 kB / 21.4 MB, free: 1.664 MB / 14.72 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 1.406/1.406, allocations: 225.6 MB / 249.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001495/0.001495, allocations: 55.91 kB / 366.8 MB, free: 432 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1126, allocations: 52.13 MB / 419 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007107/0.1197, allocations: 5.637 MB / 424.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002952/0.1227, allocations: 1.421 MB / 426 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004943/0.1232, allocations: 15.94 kB / 426 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005646/0.1237, allocations: 202.3 kB / 426.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009226/0.1247, allocations: 392.8 kB / 426.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000578/0.1252, allocations: 263.6 kB / 426.9 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00154/0.1268, allocations: 1.351 MB / 428.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004659/0.1272, allocations: 279.3 kB / 428.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006136/0.1279, allocations: 0.5177 MB / 429 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007658/0.1286, allocations: 0.5874 MB / 429.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001945/0.1288, allocations: 116 kB / 429.7 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.129, allocations: 120 kB / 429.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.1293, allocations: 255.2 kB / 430.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006341/0.1299, allocations: 0.6144 MB / 430.7 MB, free: 384 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.1314, allocations: 1.405 MB / 432.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1314, allocations: 0 / 432.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1314, allocations: 0 / 432.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.1315, allocations: 0 / 432.1 MB, free: 14.96 MB / 366.1 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.002801/0.1343, allocations: 1.523 MB / 433.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1343, allocations: 8.031 kB / 433.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/0.1345, allocations: 132.2 kB / 433.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.1356, allocations: 0.6389 MB / 434.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/0.1358, allocations: 151.7 kB / 434.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.1359, allocations: 68.36 kB / 434.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.1375, allocations: 0.9707 MB / 435.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.1376, allocations: 0 / 435.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.151e-05/0.1376, allocations: 35.98 kB / 435.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.1377, allocations: 16 kB / 435.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.139, allocations: 0.6246 MB / 436.3 MB, free: 10.56 MB / 366.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.004303/0.1433, allocations: 2.637 MB / 438.9 MB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/0.146, allocations: 0.8246 MB / 439.7 MB, free: 6.914 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007419/0.1467, allocations: 322.7 kB / 440 MB, free: 6.598 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.066e-05/0.1468, allocations: 16.59 kB / 440 MB, free: 6.582 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.1468, allocations: 47.22 kB / 440.1 MB, free: 6.527 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.806e-06/0.1468, allocations: 0 / 440.1 MB, free: 6.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.002869/0.1497, allocations: 1.401 MB / 441.5 MB, free: 5.012 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004882/0.1502, allocations: 0.9567 MB / 442.5 MB, free: 3.828 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.1513, allocations: 0.7864 MB / 443.2 MB, free: 3.031 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.836e-05/0.1513, allocations: 45.7 kB / 443.3 MB, free: 2.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/0.1517, allocations: 413.1 kB / 443.7 MB, free: 2.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/0.1519, allocations: 265.7 kB / 443.9 MB, free: 2.309 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002708/0.1522, allocations: 158.6 kB / 444.1 MB, free: 2.148 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1524, allocations: 337.9 kB / 444.4 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006157/0.153, allocations: 257.9 kB / 444.7 MB, free: 1.562 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009327/0.1539, allocations: 0.5802 MB / 445.3 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.1552, allocations: 0.6717 MB / 445.9 MB, free: 156 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1552, allocations: 0 / 445.9 MB, free: 156 kB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.1923/0.3474, allocations: 0.944 MB / 446.9 MB, free: 30.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/0.3475, allocations: 85.48 kB / 447 MB, free: 30.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3475, allocations: 7.719 kB / 447 MB, free: 30.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003171/0.3478, allocations: 125.3 kB / 447.1 MB, free: 29.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006808/0.3485, allocations: 150 kB / 447.2 MB, free: 29.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004069/0.3526, allocations: 7.326 MB / 454.6 MB, free: 23.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009919/0.3535, allocations: 104.9 kB / 454.7 MB, free: 23.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/0.3536, allocations: 22.92 kB / 454.7 MB, free: 23.3 MB / 366.1 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.0003438/0.3539, allocations: 241.6 kB / 454.9 MB, free: 23.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.3541, allocations: 109.3 kB / 455 MB, free: 23.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001669/0.3543, allocations: 101.4 kB / 455.1 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3543, allocations: 8.031 kB / 455.1 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3543, allocations: 0.8438 kB / 455.1 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001142/0.3554, allocations: 0.9763 MB / 456.1 MB, free: 22.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/0.3579, allocations: 1.739 MB / 457.9 MB, free: 22.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.3579, allocations: 1.219 kB / 457.9 MB, free: 22.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007266/0.3586, allocations: 153.5 kB / 458 MB, free: 22.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.212e-05/0.3587, allocations: 29.58 kB / 458 MB, free: 22.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.3588, allocations: 17.34 kB / 458.1 MB, free: 22.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006543/0.3594, allocations: 1.408 MB / 459.5 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3594, allocations: 1.375 kB / 459.5 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.3613, allocations: 1.083 MB / 460.5 MB, free: 20.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/0.3617, allocations: 264.2 kB / 460.8 MB, free: 20.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.3618, allocations: 20.83 kB / 460.8 MB, free: 20.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006527/0.3624, allocations: 41.89 kB / 460.9 MB, free: 20.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.3626, allocations: 42.38 kB / 460.9 MB, free: 20.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/0.3626, allocations: 18.88 kB / 460.9 MB, free: 20.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007309/0.3633, allocations: 0.5525 MB / 461.5 MB, free: 19.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3633, allocations: 0 / 461.5 MB, free: 19.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007877/0.3641, allocations: 295.7 kB / 461.8 MB, free: 19.9 MB / 366.1 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.000169/0.3643, allocations: 127.9 kB / 461.9 MB, free: 19.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001805/0.3661, allocations: 1.356 MB / 463.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.3661, allocations: 2.188 kB / 463.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006197/0.3667, allocations: 408.3 kB / 463.6 MB, free: 18.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.3677, allocations: 279.6 kB / 463.9 MB, free: 18.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002576/0.3703, allocations: 1.743 MB / 465.7 MB, free: 17.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.3707, allocations: 0.9786 MB / 466.6 MB, free: 16.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/0.371, allocations: 85.31 kB / 466.7 MB, free: 16.87 MB / 366.1 MB Notification: Performance of SimCode: time 8.52e-07/0.371, allocations: 0 / 466.7 MB, free: 16.87 MB / 366.1 MB Notification: Performance of Templates: time 0.0248/0.3958, allocations: 24.44 MB / 491.2 MB, free: 3.332 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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: 9.66220889100805]