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.001641/0.001641, allocations: 120.7 kB / 19.18 MB, free: 3.906 MB / 14.72 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.001755/0.001755, allocations: 202.6 kB / 22.12 MB, free: 0.9648 MB / 14.72 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 1.517/1.517, allocations: 230.2 MB / 255.2 MB, free: 15.42 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002032/0.002032, allocations: 67.89 kB / 374.5 MB, free: 9.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09918/0.1012, allocations: 53.32 MB / 427.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007433/0.1086, allocations: 5.631 MB / 433.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003162/0.1118, allocations: 1.476 MB / 434.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000723/0.1125, allocations: 15.94 kB / 435 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000737/0.1133, allocations: 190.3 kB / 435.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.1146, allocations: 396.7 kB / 435.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007507/0.1153, allocations: 263.6 kB / 435.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002114/0.1174, allocations: 1.362 MB / 437.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005665/0.118, allocations: 275.3 kB / 437.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008363/0.1188, allocations: 0.5099 MB / 437.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009971/0.1198, allocations: 0.5797 MB / 438.5 MB, free: 9.789 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003084/0.1201, allocations: 116 kB / 438.6 MB, free: 9.676 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003375/0.1205, allocations: 120 kB / 438.7 MB, free: 9.559 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.1208, allocations: 263.1 kB / 439 MB, free: 9.301 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009785/0.1217, allocations: 0.6105 MB / 439.6 MB, free: 8.688 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.1236, allocations: 1.408 MB / 441 MB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1236, allocations: 4 kB / 441 MB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1236, allocations: 0 / 441 MB, free: 7.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.718e-05/0.1236, allocations: 0 / 441 MB, free: 7.27 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.003257/0.1269, allocations: 1.515 MB / 442.5 MB, free: 5.684 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1269, allocations: 8.031 kB / 442.5 MB, free: 5.676 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000295/0.1272, allocations: 132.2 kB / 442.7 MB, free: 5.547 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.1285, allocations: 0.6427 MB / 443.3 MB, free: 4.863 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002337/0.1287, allocations: 151.7 kB / 443.5 MB, free: 4.695 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.1289, allocations: 68.38 kB / 443.5 MB, free: 4.629 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.1306, allocations: 0.9669 MB / 444.5 MB, free: 3.547 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.1306, allocations: 4 kB / 444.5 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-05/0.1307, allocations: 32 kB / 444.5 MB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.1307, allocations: 16 kB / 444.5 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.1321, allocations: 0.6246 MB / 445.2 MB, free: 2.867 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.004922/0.137, allocations: 2.633 MB / 447.8 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2147/0.3517, allocations: 0.8112 MB / 448.6 MB, free: 24.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007238/0.3524, allocations: 325.2 kB / 448.9 MB, free: 24.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-05/0.3524, allocations: 13.02 kB / 448.9 MB, free: 24.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.3525, allocations: 49.38 kB / 449 MB, free: 24.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.865e-06/0.3525, allocations: 0.5312 kB / 449 MB, free: 24.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.00249/0.355, allocations: 1.41 MB / 450.4 MB, free: 23.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002109/0.3552, allocations: 0.9482 MB / 451.4 MB, free: 22.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.3562, allocations: 0.7923 MB / 452.1 MB, free: 22.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.555e-05/0.3563, allocations: 48.48 kB / 452.2 MB, free: 22.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/0.3566, allocations: 409.3 kB / 452.6 MB, free: 22.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.3568, allocations: 274.2 kB / 452.9 MB, free: 21.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/0.357, allocations: 158.4 kB / 453 MB, free: 21.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.259e-05/0.357, allocations: 337.1 kB / 453.3 MB, free: 21.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005164/0.3576, allocations: 251.2 kB / 453.6 MB, free: 21.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007216/0.3583, allocations: 0.5886 MB / 454.2 MB, free: 21.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.3593, allocations: 0.6628 MB / 454.8 MB, free: 20.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.3593, allocations: 1.219 kB / 454.8 MB, free: 20.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001612/0.3609, allocations: 0.9557 MB / 455.8 MB, free: 20.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/0.361, allocations: 88.84 kB / 455.9 MB, free: 20.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.361, allocations: 1.062 kB / 455.9 MB, free: 20.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003439/0.3613, allocations: 125.4 kB / 456 MB, free: 20.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007097/0.3621, allocations: 152.6 kB / 456.2 MB, free: 20.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004307/0.3664, allocations: 7.319 MB / 463.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.3675, allocations: 104.5 kB / 463.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.898e-05/0.3676, allocations: 32.5 kB / 463.6 MB, free: 12.75 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.0004508/0.368, allocations: 237.5 kB / 463.8 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.3682, allocations: 105.2 kB / 463.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.3684, allocations: 104.4 kB / 464 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/0.3684, allocations: 7.281 kB / 464.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/0.3684, allocations: 6.609 kB / 464.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001315/0.3697, allocations: 0.9678 MB / 465 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/0.3725, allocations: 1.743 MB / 466.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.3725, allocations: 0.875 kB / 466.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008088/0.3733, allocations: 155.5 kB / 466.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001065/0.3734, allocations: 27 kB / 467 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.365e-05/0.3734, allocations: 17.64 kB / 467 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006955/0.3741, allocations: 1.418 MB / 468.4 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3741, allocations: 0 / 468.4 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.376, allocations: 1.079 MB / 469.5 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004336/0.3765, allocations: 264.6 kB / 469.7 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.3766, allocations: 20.56 kB / 469.7 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006362/0.3772, allocations: 43.64 kB / 469.8 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.3773, allocations: 45.86 kB / 469.8 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.3774, allocations: 22.36 kB / 469.9 MB, free: 8.617 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007457/0.3781, allocations: 0.5452 MB / 470.4 MB, free: 8.387 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3781, allocations: 0 / 470.4 MB, free: 8.387 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009084/0.379, allocations: 295.4 kB / 470.7 MB, free: 8.348 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.0001741/0.3792, allocations: 126.8 kB / 470.8 MB, free: 8.242 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001973/0.3812, allocations: 1.362 MB / 472.2 MB, free: 7.273 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.3812, allocations: 2.281 kB / 472.2 MB, free: 7.273 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006266/0.3818, allocations: 397.6 kB / 472.6 MB, free: 7.078 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.383, allocations: 282 kB / 472.8 MB, free: 6.973 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.3858, allocations: 1.737 MB / 474.6 MB, free: 6.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.3863, allocations: 0.9791 MB / 475.6 MB, free: 5.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.3866, allocations: 84.5 kB / 475.6 MB, free: 5.277 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3866, allocations: 0.875 kB / 475.6 MB, free: 5.277 MB / 366.1 MB Notification: Performance of Templates: time 0.033/0.4196, allocations: 24.43 MB / 0.4883 GB, free: 6.16 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.37569573300425]