Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 73.56 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001981/0.001981, allocations: 159.3 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 55.09 kB / 325.6 MB, free: 244 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08858/0.09022, allocations: 53.33 MB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.0066/0.09682, allocations: 4.986 MB / 383.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.09953, allocations: 1.406 MB / 385.3 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004629/0.1, allocations: 15.88 kB / 385.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000539/0.1005, allocations: 186.3 kB / 385.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009088/0.1014, allocations: 400.7 kB / 385.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005576/0.102, allocations: 267.6 kB / 386.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001657/0.1037, allocations: 1.366 MB / 387.5 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004798/0.1041, allocations: 263.8 kB / 387.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006836/0.1048, allocations: 0.5217 MB / 388.3 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008067/0.1056, allocations: 0.5054 MB / 388.8 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002014/0.1058, allocations: 116 kB / 388.9 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002274/0.1061, allocations: 120 kB / 389 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002535/0.1063, allocations: 259.1 kB / 389.3 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005799/0.1069, allocations: 0.5173 MB / 389.8 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.1083, allocations: 1.416 MB / 391.2 MB, free: 3.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1083, allocations: 0 / 391.2 MB, free: 3.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1083, allocations: 0 / 391.2 MB, free: 3.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.1084, allocations: 4 kB / 391.2 MB, free: 3.266 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.002593/0.111, allocations: 1.44 MB / 392.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.111, allocations: 8.031 kB / 392.7 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.1112, allocations: 132.2 kB / 392.8 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.1122, allocations: 0.5823 MB / 393.4 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/0.1125, allocations: 309.9 kB / 393.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.1126, allocations: 72.38 kB / 393.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.1147, allocations: 1.853 MB / 395.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.1147, allocations: 0 / 395.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.306e-05/0.1148, allocations: 28 kB / 395.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.1148, allocations: 16 kB / 395.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.1161, allocations: 0.6207 MB / 396.3 MB, free: 13.75 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.003775/0.1199, allocations: 1.853 MB / 398.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/0.1225, allocations: 0.7401 MB / 398.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007221/0.1232, allocations: 322.7 kB / 399.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.84e-05/0.1233, allocations: 16.64 kB / 399.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.1233, allocations: 51.22 kB / 399.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 1.964e-06/0.1233, allocations: 0 / 399.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.002511/0.1258, allocations: 1.025 MB / 400.3 MB, free: 9.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005307/0.1264, allocations: 0.9528 MB / 401.2 MB, free: 8.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009115/0.1273, allocations: 0.7116 MB / 401.9 MB, free: 7.762 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.752e-05/0.1274, allocations: 45.7 kB / 402 MB, free: 7.711 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/0.1277, allocations: 424.6 kB / 402.4 MB, free: 7.293 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.128, allocations: 269.7 kB / 402.7 MB, free: 7.027 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.1282, allocations: 162.6 kB / 402.8 MB, free: 6.863 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1284, allocations: 333.9 kB / 403.1 MB, free: 6.531 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006447/0.129, allocations: 335 kB / 403.5 MB, free: 6.184 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.1305, allocations: 1.542 MB / 405 MB, free: 4.281 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.1318, allocations: 0.6639 MB / 405.7 MB, free: 3.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1318, allocations: 0 / 405.7 MB, free: 3.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001834/0.1336, allocations: 1.034 MB / 406.7 MB, free: 2.492 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.726e-05/0.1337, allocations: 93.03 kB / 406.8 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1337, allocations: 4 kB / 406.8 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003406/0.134, allocations: 120.2 kB / 406.9 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006984/0.1347, allocations: 151.9 kB / 407.1 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006194/0.1409, allocations: 6.667 MB / 413.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007479/0.1417, allocations: 99.69 kB / 413.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.228e-05/0.1417, allocations: 31.98 kB / 413.9 MB, free: 10.79 MB / 382.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.0003544/0.1421, allocations: 229.7 kB / 414.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.1422, allocations: 99.44 kB / 414.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.1424, allocations: 96 kB / 414.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.1424, allocations: 11.94 kB / 414.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.1425, allocations: 0 / 414.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001513/0.144, allocations: 0.97 MB / 415.3 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002689/0.1467, allocations: 1.468 MB / 416.7 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.1467, allocations: 0 / 416.7 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007746/0.1474, allocations: 160.1 kB / 416.9 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.188e-05/0.1475, allocations: 24.83 kB / 416.9 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.787e-05/0.1476, allocations: 19.98 kB / 416.9 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.1486, allocations: 1.28 MB / 418.2 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1486, allocations: 0 / 418.2 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.1507, allocations: 1.074 MB / 419.3 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003665/0.151, allocations: 179.2 kB / 419.5 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.1511, allocations: 24 kB / 419.5 MB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006431/0.1518, allocations: 39.97 kB / 419.5 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.612e-05/0.1519, allocations: 48.5 kB / 419.6 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.1519, allocations: 16 kB / 419.6 MB, free: 4.762 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000644/0.1526, allocations: 0.499 MB / 420.1 MB, free: 4.266 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1526, allocations: 0 / 420.1 MB, free: 4.266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007419/0.1533, allocations: 299.6 kB / 420.4 MB, free: 3.973 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.0001696/0.1535, allocations: 134.2 kB / 420.5 MB, free: 3.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002156/0.1556, allocations: 1.438 MB / 421.9 MB, free: 2.277 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.1556, allocations: 7.859 kB / 421.9 MB, free: 2.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000763/0.1564, allocations: 398.3 kB / 422.3 MB, free: 1.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.1574, allocations: 269.8 kB / 422.6 MB, free: 1.609 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.1603, allocations: 1.692 MB / 424.3 MB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.1607, allocations: 389.2 kB / 424.7 MB, free: 15.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004476/0.1612, allocations: 118.9 kB / 424.8 MB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.1614, allocations: 72.48 kB / 424.9 MB, free: 15.27 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1614, allocations: 0 / 424.9 MB, free: 15.27 MB / 398.1 MB Notification: Performance of Templates: time 0.0317/0.1931, allocations: 18.81 MB / 443.7 MB, free: 12.86 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.043913756962866]