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.001624/0.001624, allocations: 117 kB / 18.41 MB, free: 4.664 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.001703/0.001703, allocations: 190.9 kB / 21.35 MB, free: 1.734 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.527/1.527, allocations: 222.9 MB / 247 MB, free: 4.336 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.002236/0.002236, allocations: 51.91 kB / 358.7 MB, free: 8.441 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1071, allocations: 49.43 MB / 408.1 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006933/0.114, allocations: 5.61 MB / 413.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003077/0.1171, allocations: 1.413 MB / 415.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006261/0.1178, allocations: 15.94 kB / 415.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005694/0.1184, allocations: 202.3 kB / 415.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009473/0.1194, allocations: 384.7 kB / 415.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.1199, allocations: 259.6 kB / 416 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001628/0.1216, allocations: 1.358 MB / 417.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006051/0.1222, allocations: 419 kB / 417.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007017/0.1229, allocations: 0.5021 MB / 418.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008048/0.1237, allocations: 0.5952 MB / 418.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.1239, allocations: 116 kB / 418.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.1242, allocations: 120 kB / 419.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002467/0.1244, allocations: 259.1 kB / 419.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006486/0.1251, allocations: 0.6105 MB / 419.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.1266, allocations: 1.401 MB / 421.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1267, allocations: 4 kB / 421.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1267, allocations: 0 / 421.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.145e-05/0.1267, allocations: 0 / 421.3 MB, free: 9.648 MB / 350.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.002854/0.1296, allocations: 1.512 MB / 422.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.1296, allocations: 8.031 kB / 422.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.1299, allocations: 132.2 kB / 423 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.131, allocations: 0.6467 MB / 423.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.1312, allocations: 147.7 kB / 423.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.1314, allocations: 72.36 kB / 423.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.133, allocations: 0.9707 MB / 424.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.1331, allocations: 3.938 kB / 424.8 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.133e-05/0.1331, allocations: 32 kB / 424.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.1332, allocations: 16 kB / 424.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.1346, allocations: 0.6246 MB / 425.5 MB, free: 5.246 MB / 350.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.00449/0.1391, allocations: 2.64 MB / 428.1 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002682/0.1418, allocations: 0.8683 MB / 429 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000797/0.1426, allocations: 354.7 kB / 429.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.083e-05/0.1427, allocations: 12.64 kB / 429.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/0.1427, allocations: 55.22 kB / 429.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.545e-06/0.1427, allocations: 0 / 429.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.1858/0.3286, allocations: 1.404 MB / 430.8 MB, free: 22.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/0.3288, allocations: 0.9551 MB / 431.8 MB, free: 21.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.3298, allocations: 0.7844 MB / 432.6 MB, free: 21.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00016/0.33, allocations: 47.17 kB / 432.6 MB, free: 21.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.3303, allocations: 410.6 kB / 433 MB, free: 21.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/0.3306, allocations: 263.8 kB / 433.3 MB, free: 21.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002885/0.3309, allocations: 159.7 kB / 433.4 MB, free: 21.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.448e-05/0.3309, allocations: 335.8 kB / 433.7 MB, free: 20.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005841/0.3315, allocations: 255.6 kB / 434 MB, free: 20.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007501/0.3323, allocations: 0.5832 MB / 434.6 MB, free: 20.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.3335, allocations: 0.6718 MB / 435.2 MB, free: 20.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3335, allocations: 0 / 435.2 MB, free: 20.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001699/0.3352, allocations: 0.9555 MB / 436.2 MB, free: 19.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/0.3353, allocations: 84.84 kB / 436.3 MB, free: 19.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3353, allocations: 1.594 kB / 436.3 MB, free: 19.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003682/0.3357, allocations: 129.5 kB / 436.4 MB, free: 19.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007836/0.3365, allocations: 154.4 kB / 436.6 MB, free: 19.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004474/0.3409, allocations: 7.315 MB / 443.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009506/0.3419, allocations: 110 kB / 444 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/0.342, allocations: 23.92 kB / 444 MB, free: 13.08 MB / 350.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.0003558/0.3424, allocations: 244.3 kB / 444.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.3425, allocations: 106.4 kB / 444.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.3427, allocations: 99.61 kB / 444.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.3427, allocations: 12.89 kB / 444.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.3427, allocations: 1.688 kB / 444.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001268/0.344, allocations: 0.9743 MB / 445.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/0.3467, allocations: 1.746 MB / 447.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3467, allocations: 1.062 kB / 447.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007512/0.3474, allocations: 155.3 kB / 447.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.3476, allocations: 27.88 kB / 447.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/0.3476, allocations: 14.17 kB / 447.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006855/0.3483, allocations: 1.405 MB / 448.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3483, allocations: 0 / 448.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.3504, allocations: 1.086 MB / 449.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004052/0.3508, allocations: 261 kB / 450.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.3509, allocations: 24.7 kB / 450.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007111/0.3517, allocations: 39.61 kB / 450.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.3518, allocations: 51.14 kB / 450.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.3518, allocations: 17.77 kB / 450.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008003/0.3527, allocations: 0.5465 MB / 450.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3527, allocations: 0.9688 kB / 450.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009083/0.3536, allocations: 290.6 kB / 451.1 MB, free: 10.08 MB / 350.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.0001625/0.3537, allocations: 130.3 kB / 451.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002063/0.3558, allocations: 1.407 MB / 452.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/0.3558, allocations: 1.594 kB / 452.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006845/0.3565, allocations: 420 kB / 453 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.3578, allocations: 283.9 kB / 453.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.3609, allocations: 1.741 MB / 455 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.3614, allocations: 0.9804 MB / 456 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/0.3617, allocations: 84.41 kB / 456.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3617, allocations: 0 / 456.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of Templates: time 0.03497/0.3967, allocations: 24.34 MB / 480.5 MB, free: 6.465 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.797179613960907]