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.001237/0.001237, allocations: 80.8 kB / 21.49 MB, free: 2.988 MB / 18.57 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.001493/0.001493, allocations: 168.7 kB / 24.91 MB, free: 8.77 MB / 18.57 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 0.9714/0.9714, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 1.703e-06/1.703e-06, allocations: 0 / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.058e-05, allocations: 2.312 kB / 273.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.01137/0.01139, allocations: 5.562 MB / 279 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.01375, allocations: 1.502 MB / 280.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000251/0.014, allocations: 15.88 kB / 280.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003271/0.01432, allocations: 202.2 kB / 280.8 MB, free: 9.945 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005021/0.01483, allocations: 416.4 kB / 281.2 MB, free: 9.535 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.01516, allocations: 267.5 kB / 281.4 MB, free: 9.273 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.01627, allocations: 1.42 MB / 282.9 MB, free: 7.848 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003097/0.01658, allocations: 279.6 kB / 283.1 MB, free: 7.543 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006362/0.01721, allocations: 0.7874 MB / 283.9 MB, free: 6.754 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004278/0.01764, allocations: 442.7 kB / 284.3 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.01775, allocations: 116 kB / 284.5 MB, free: 6.207 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.01787, allocations: 120 kB / 284.6 MB, free: 6.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.018, allocations: 251.1 kB / 284.8 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003464/0.01834, allocations: 459 kB / 285.3 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007047/0.01905, allocations: 0.9109 MB / 286.2 MB, free: 4.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.01905, allocations: 0 / 286.2 MB, free: 4.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01905, allocations: 0 / 286.2 MB, free: 4.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.01906, allocations: 0 / 286.2 MB, free: 4.48 MB / 266.7 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.001293/0.02036, allocations: 1.388 MB / 287.6 MB, free: 3.047 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.02039, allocations: 8.031 kB / 287.6 MB, free: 3.039 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.02053, allocations: 156.7 kB / 287.7 MB, free: 2.887 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004667/0.021, allocations: 425.8 kB / 288.1 MB, free: 2.441 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.02115, allocations: 305.9 kB / 288.4 MB, free: 2.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.777e-05/0.02122, allocations: 84.38 kB / 288.5 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.02226, allocations: 1.635 MB / 290.2 MB, free: 36 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.02228, allocations: 192 / 290.2 MB, free: 36 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.02232, allocations: 36.12 kB / 290.2 MB, free: 0 / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.09928/0.1216, allocations: 16.23 kB / 290.2 MB, free: 26.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005875/0.1222, allocations: 231.6 kB / 290.4 MB, free: 26.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.1244, allocations: 1.276 MB / 291.7 MB, free: 26.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.1254, allocations: 496.7 kB / 292.2 MB, free: 26.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.1256, allocations: 160.3 kB / 292.4 MB, free: 26.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-05/0.1257, allocations: 17.69 kB / 292.4 MB, free: 26.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1257, allocations: 50.88 kB / 292.4 MB, free: 26.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 1.943e-06/0.1257, allocations: 1.75 kB / 292.4 MB, free: 26.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.0008809/0.1266, allocations: 0.5211 MB / 292.9 MB, free: 26.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.1267, allocations: 0.9493 MB / 293.9 MB, free: 25.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/0.1271, allocations: 0.5794 MB / 294.5 MB, free: 24.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.1271, allocations: 46.11 kB / 294.5 MB, free: 24.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.1273, allocations: 325.4 kB / 294.8 MB, free: 24.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.1274, allocations: 261.6 kB / 295.1 MB, free: 24.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.1275, allocations: 158.8 kB / 295.2 MB, free: 24.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.241e-05/0.1276, allocations: 344.7 kB / 295.6 MB, free: 24.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.1277, allocations: 165.7 kB / 295.7 MB, free: 24.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.1281, allocations: 1.345 MB / 297.1 MB, free: 22.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/0.1284, allocations: 379.6 kB / 297.5 MB, free: 22.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1284, allocations: 0 / 297.5 MB, free: 22.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005809/0.129, allocations: 0.6126 MB / 298.1 MB, free: 22.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/0.1291, allocations: 86.45 kB / 298.2 MB, free: 22.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1291, allocations: 2.312 kB / 298.2 MB, free: 22.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002038/0.1293, allocations: 100.5 kB / 298.3 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/0.1297, allocations: 175.5 kB / 298.4 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.1318, allocations: 5.999 MB / 304.4 MB, free: 16.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003718/0.1321, allocations: 92.98 kB / 304.5 MB, free: 16.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.1322, allocations: 15.73 kB / 304.5 MB, free: 16.52 MB / 266.7 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.0001559/0.1323, allocations: 167.1 kB / 304.7 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.1324, allocations: 93.78 kB / 304.8 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.568e-05/0.1325, allocations: 95.94 kB / 304.9 MB, free: 16.37 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.1325, allocations: 6.906 kB / 304.9 MB, free: 16.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.1325, allocations: 0.7969 kB / 304.9 MB, free: 16.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003807/0.1329, allocations: 0.6562 MB / 305.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.134, allocations: 0.9021 MB / 306.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.134, allocations: 0 / 306.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004517/0.1344, allocations: 201.9 kB / 306.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.004e-05/0.1345, allocations: 21.59 kB / 306.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.1345, allocations: 16.36 kB / 306.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003273/0.1348, allocations: 1.181 MB / 307.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1349, allocations: 1.812 kB / 307.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000594/0.1354, allocations: 0.5637 MB / 308.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.1356, allocations: 103 kB / 308.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/0.1357, allocations: 19.5 kB / 308.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.136, allocations: 37.91 kB / 308.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.237e-05/0.136, allocations: 43.23 kB / 308.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.1361, allocations: 15.97 kB / 308.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002881/0.1363, allocations: 290.6 kB / 308.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1363, allocations: 4 kB / 308.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005577/0.1369, allocations: 304.7 kB / 309.2 MB, free: 14.06 MB / 266.7 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.0001278/0.137, allocations: 108.4 kB / 309.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007966/0.1378, allocations: 1.169 MB / 310.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-05/0.1378, allocations: 12.69 kB / 310.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002466/0.1381, allocations: 282.7 kB / 310.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005934/0.1387, allocations: 284.6 kB / 311.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.1405, allocations: 1.475 MB / 312.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.364e-05/0.1406, allocations: 171.9 kB / 312.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002944/0.1409, allocations: 127.9 kB / 312.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005893/0.1415, allocations: 430.5 kB / 313.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1415, allocations: 4 kB / 313.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of Templates: time 0.01903/0.1605, allocations: 20.32 MB / 333.6 MB, free: 8.098 MB / 282.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1750576668418944]