Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001819/0.001819, allocations: 88.39 kB / 21.44 MB, free: 276 kB / 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.001884/0.001884, allocations: 164.2 kB / 24.71 MB, free: 3.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 158.6 MB / 186.5 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.097e-05/3.289e-05, allocations: 6.281 kB / 298.9 MB, free: 8.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006879/0.006912, allocations: 4.972 MB / 303.9 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002923/0.009835, allocations: 1.422 MB / 305.3 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003935/0.01023, allocations: 19.88 kB / 305.4 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005088/0.01074, allocations: 194.3 kB / 305.5 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000831/0.01157, allocations: 412.4 kB / 305.9 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005235/0.01209, allocations: 267.5 kB / 306.2 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001612/0.0137, allocations: 1.428 MB / 307.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004572/0.01416, allocations: 263.6 kB / 307.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009169/0.01508, allocations: 0.7835 MB / 308.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006359/0.01571, allocations: 438.7 kB / 309.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001763/0.01589, allocations: 116 kB / 309.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.01613, allocations: 124 kB / 309.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.01639, allocations: 267 kB / 309.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005233/0.01691, allocations: 447.1 kB / 310 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.01847, allocations: 1.445 MB / 311.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.01848, allocations: 8 kB / 311.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01848, allocations: 0 / 311.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.01849, allocations: 0 / 311.5 MB, free: 12.09 MB / 302.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.002839/0.02133, allocations: 1.432 MB / 312.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.02138, allocations: 11.98 kB / 312.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002481/0.02163, allocations: 136.2 kB / 313.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.02273, allocations: 0.5816 MB / 313.6 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000346/0.02308, allocations: 305.9 kB / 313.9 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.02319, allocations: 68.38 kB / 314 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/0.0255, allocations: 1.853 MB / 315.9 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.02552, allocations: 192 / 315.9 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.847e-05/0.02562, allocations: 44.06 kB / 315.9 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.02564, allocations: 23.92 kB / 315.9 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.02707, allocations: 0.609 MB / 316.5 MB, free: 6.574 MB / 302.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.004086/0.03115, allocations: 1.844 MB / 318.4 MB, free: 4.684 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002695/0.03385, allocations: 0.7509 MB / 319.1 MB, free: 3.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007812/0.03463, allocations: 318.7 kB / 319.4 MB, free: 3.613 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.742e-05/0.0347, allocations: 12.66 kB / 319.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.902e-05/0.03476, allocations: 59.06 kB / 319.5 MB, free: 3.535 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.484e-06/0.03476, allocations: 0 / 319.5 MB, free: 3.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002661/0.03742, allocations: 1.017 MB / 320.5 MB, free: 2.496 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005705/0.03799, allocations: 0.9528 MB / 321.5 MB, free: 1.316 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.03909, allocations: 0.7116 MB / 322.2 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.867e-05/0.03918, allocations: 45.7 kB / 322.2 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004721/0.03965, allocations: 428.7 kB / 322.7 MB, free: 124 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1507/0.1904, allocations: 254.3 kB / 322.9 MB, free: 34.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003918/0.1908, allocations: 158 kB / 323.1 MB, free: 34.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.1908, allocations: 331.9 kB / 323.4 MB, free: 33.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006738/0.1915, allocations: 335 kB / 323.7 MB, free: 33.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009951/0.1925, allocations: 1.548 MB / 325.3 MB, free: 32.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.1937, allocations: 0.6626 MB / 325.9 MB, free: 32.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.1937, allocations: 0 / 325.9 MB, free: 32.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001865/0.1955, allocations: 1.028 MB / 327 MB, free: 31.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.673e-05/0.1956, allocations: 85.58 kB / 327 MB, free: 31.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.1956, allocations: 1.125 kB / 327 MB, free: 31.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004101/0.196, allocations: 127.7 kB / 327.2 MB, free: 31.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000743/0.1968, allocations: 151.2 kB / 327.3 MB, free: 31.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004285/0.201, allocations: 6.672 MB / 334 MB, free: 24.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.2022, allocations: 90.91 kB / 334.1 MB, free: 24.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.777e-05/0.2023, allocations: 27.81 kB / 334.1 MB, free: 24.93 MB / 302.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.00045/0.2027, allocations: 240.4 kB / 334.3 MB, free: 24.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.2029, allocations: 96.91 kB / 334.4 MB, free: 24.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.2031, allocations: 98.91 kB / 334.5 MB, free: 24.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.2032, allocations: 7.344 kB / 334.5 MB, free: 24.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/0.2032, allocations: 4.562 kB / 334.5 MB, free: 24.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001439/0.2046, allocations: 0.9719 MB / 335.5 MB, free: 23.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/0.2077, allocations: 1.469 MB / 337 MB, free: 23.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.2077, allocations: 1.781 kB / 337 MB, free: 23.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007919/0.2085, allocations: 155.1 kB / 337.1 MB, free: 23.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/0.2086, allocations: 33.31 kB / 337.2 MB, free: 23.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.143e-05/0.2086, allocations: 14.5 kB / 337.2 MB, free: 23.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006911/0.2093, allocations: 1.269 MB / 338.4 MB, free: 21.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2093, allocations: 2.078 kB / 338.5 MB, free: 21.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.2116, allocations: 1.071 MB / 339.5 MB, free: 21.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006626/0.2123, allocations: 180.5 kB / 339.7 MB, free: 21.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.2124, allocations: 23.86 kB / 339.7 MB, free: 21.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007143/0.2132, allocations: 36.97 kB / 339.8 MB, free: 21.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.2133, allocations: 47.98 kB / 339.8 MB, free: 21.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-05/0.2134, allocations: 18.06 kB / 339.8 MB, free: 21.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008204/0.2142, allocations: 0.4954 MB / 340.3 MB, free: 21 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2142, allocations: 0 / 340.3 MB, free: 21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001176/0.2154, allocations: 304.9 kB / 340.6 MB, free: 20.96 MB / 302.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.000213/0.2156, allocations: 126.3 kB / 340.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002224/0.2178, allocations: 1.437 MB / 342.2 MB, free: 19.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.2178, allocations: 3.312 kB / 342.2 MB, free: 19.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006944/0.2185, allocations: 399.8 kB / 342.6 MB, free: 19.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.2198, allocations: 274.6 kB / 342.8 MB, free: 19.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.2229, allocations: 1.578 MB / 344.4 MB, free: 18.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.2233, allocations: 389.6 kB / 344.8 MB, free: 18.51 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0006079/0.2239, allocations: 119.2 kB / 344.9 MB, free: 18.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.2241, allocations: 76.38 kB / 345 MB, free: 18.46 MB / 302.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2241, allocations: 0 / 345 MB, free: 18.46 MB / 302.1 MB Notification: Performance of Templates: time 0.02627/0.2504, allocations: 18.57 MB / 363.6 MB, free: 2.848 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.2779436111450195]