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.001848/0.001848, allocations: 72.06 kB / 21.24 MB, free: 404 kB / 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.002149/0.002149, allocations: 161.9 kB / 24.49 MB, free: 3.461 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.446/1.446, allocations: 173.4 MB / 201.1 MB, free: 12.72 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.001546/0.001546, allocations: 51.95 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08612/0.08767, allocations: 52.16 MB / 371.6 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.0067/0.09437, allocations: 4.981 MB / 376.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.09665, allocations: 1.375 MB / 377.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000264/0.09692, allocations: 19.88 kB / 378 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004326/0.09735, allocations: 190.3 kB / 378.1 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007213/0.09807, allocations: 396.6 kB / 378.5 MB, free: 388 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/0.09855, allocations: 267.6 kB / 378.8 MB, free: 120 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001494/0.1, allocations: 1.355 MB / 380.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004406/0.1005, allocations: 267.8 kB / 380.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005814/0.1011, allocations: 0.5216 MB / 380.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007351/0.1018, allocations: 0.5054 MB / 381.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.102, allocations: 116 kB / 381.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002212/0.1022, allocations: 120 kB / 381.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.1024, allocations: 259.1 kB / 381.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00057/0.103, allocations: 0.5135 MB / 382.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.1045, allocations: 1.42 MB / 383.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1045, allocations: 0 / 383.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1045, allocations: 0 / 383.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.1045, allocations: 0 / 383.8 MB, free: 11.02 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.002602/0.1071, allocations: 1.444 MB / 385.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.1071, allocations: 8.031 kB / 385.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/0.1074, allocations: 132.2 kB / 385.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.1084, allocations: 0.5746 MB / 386 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003327/0.1087, allocations: 309.9 kB / 386.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.1088, allocations: 68.38 kB / 386.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/0.111, allocations: 1.861 MB / 388.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.111, allocations: 0 / 388.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.185e-05/0.1111, allocations: 32 kB / 388.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.1111, allocations: 16 kB / 388.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.1124, allocations: 0.6207 MB / 388.9 MB, free: 5.496 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.003832/0.1163, allocations: 1.852 MB / 390.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002625/0.1189, allocations: 0.7492 MB / 391.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007199/0.1196, allocations: 314.7 kB / 391.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-05/0.1197, allocations: 12.64 kB / 391.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/0.1197, allocations: 47.22 kB / 391.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.164e-06/0.1197, allocations: 0 / 391.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002594/0.1223, allocations: 1.036 MB / 392.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000539/0.1229, allocations: 0.9468 MB / 393.8 MB, free: 236 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009399/0.1238, allocations: 0.7155 MB / 394.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-05/0.1239, allocations: 49.64 kB / 394.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.1242, allocations: 420.8 kB / 395 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/0.1245, allocations: 257.7 kB / 395.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/0.1247, allocations: 162.6 kB / 395.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1249, allocations: 330 kB / 395.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006491/0.1255, allocations: 347 kB / 396.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.127, allocations: 1.542 MB / 397.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.1283, allocations: 0.6639 MB / 398.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.1283, allocations: 4 kB / 398.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001891/0.1302, allocations: 1.023 MB / 399.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.996e-05/0.1303, allocations: 85.11 kB / 399.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1303, allocations: 3.984 kB / 399.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003512/0.1307, allocations: 128.2 kB / 399.5 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000748/0.1314, allocations: 151.8 kB / 399.7 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006462/0.1379, allocations: 6.678 MB / 406.4 MB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008711/0.1387, allocations: 95.45 kB / 406.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.144e-05/0.1388, allocations: 27.98 kB / 406.5 MB, free: 2.535 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.0004035/0.1392, allocations: 238.1 kB / 406.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.1394, allocations: 99.44 kB / 406.8 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.1395, allocations: 99.98 kB / 406.9 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.1396, allocations: 8 kB / 406.9 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.1396, allocations: 3.938 kB / 406.9 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001562/0.1411, allocations: 0.97 MB / 407.9 MB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002757/0.1439, allocations: 1.464 MB / 409.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1439, allocations: 0 / 409.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007969/0.1447, allocations: 159.8 kB / 409.5 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.153e-05/0.1448, allocations: 28.84 kB / 409.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/0.1448, allocations: 12 kB / 409.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.1459, allocations: 1.28 MB / 410.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1459, allocations: 0 / 410.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.148, allocations: 1.074 MB / 411.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003913/0.1484, allocations: 187.2 kB / 412.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.1485, allocations: 20 kB / 412.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006534/0.1491, allocations: 39.81 kB / 412.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.1493, allocations: 52.56 kB / 412.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/0.1493, allocations: 20 kB / 412.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006653/0.15, allocations: 499 kB / 412.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.15, allocations: 0 / 412.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007806/0.1508, allocations: 303.7 kB / 413 MB, free: 11.72 MB / 382.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.0001722/0.1509, allocations: 127.1 kB / 413.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002231/0.1532, allocations: 1.441 MB / 414.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/0.1532, allocations: 4 kB / 414.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007225/0.1539, allocations: 414.4 kB / 415 MB, free: 9.605 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.1549, allocations: 258.6 kB / 415.2 MB, free: 9.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/0.1579, allocations: 1.68 MB / 416.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.1583, allocations: 389.2 kB / 417.3 MB, free: 7.219 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004709/0.1588, allocations: 122.9 kB / 417.4 MB, free: 7.094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.159, allocations: 76.48 kB / 417.5 MB, free: 7.02 MB / 382.1 MB Notification: Performance of SimCode: time 4.7e-07/0.159, allocations: 0 / 417.5 MB, free: 7.02 MB / 382.1 MB Notification: Performance of Templates: time 0.0324/0.1914, allocations: 18.8 MB / 436.3 MB, free: 4.617 MB / 398.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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 5.114639615057968]