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.001278/0.001278, allocations: 79.69 kB / 21.7 MB, free: 2.844 MB / 18.57 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.00149/0.00149, allocations: 166.9 kB / 24.99 MB, free: 8.246 MB / 18.57 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 0.9819/0.9819, allocations: 177 MB / 205.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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 1.012e-06/1.012e-06, allocations: 0 / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.586e-05, allocations: 2.312 kB / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004292/0.004308, allocations: 5.597 MB / 278.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.006292, allocations: 1.437 MB / 280 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/0.006524, allocations: 19.88 kB / 280 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.006853, allocations: 194.3 kB / 280.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004836/0.007337, allocations: 420.4 kB / 280.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.007648, allocations: 263.5 kB / 280.9 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008504/0.008498, allocations: 1.413 MB / 282.3 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002904/0.008789, allocations: 267.6 kB / 282.6 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005007/0.00929, allocations: 0.7834 MB / 283.4 MB, free: 7.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.009649, allocations: 442.8 kB / 283.8 MB, free: 6.887 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.009753, allocations: 120 kB / 283.9 MB, free: 6.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.009866, allocations: 124 kB / 284 MB, free: 6.648 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.009998, allocations: 263.1 kB / 284.3 MB, free: 6.391 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00029/0.01029, allocations: 455 kB / 284.7 MB, free: 5.945 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006418/0.01093, allocations: 0.9108 MB / 285.6 MB, free: 5.031 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.01093, allocations: 0 / 285.6 MB, free: 5.031 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01093, allocations: 3.984 kB / 285.6 MB, free: 5.027 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.076e-06/0.01094, allocations: 0 / 285.6 MB, free: 5.027 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.001431/0.01237, allocations: 1.54 MB / 287.2 MB, free: 3.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.0124, allocations: 15.98 kB / 287.2 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.01258, allocations: 184.2 kB / 287.4 MB, free: 3.234 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005834/0.01316, allocations: 0.5648 MB / 287.9 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/0.01332, allocations: 309.8 kB / 288.2 MB, free: 2.281 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.39e-05/0.01341, allocations: 88.38 kB / 288.3 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.01442, allocations: 1.759 MB / 290.1 MB, free: 64 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.01444, allocations: 192 / 290.1 MB, free: 64 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.077e-05/0.01449, allocations: 40.12 kB / 290.1 MB, free: 24 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.0145, allocations: 16 kB / 290.1 MB, free: 8 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000512/0.01501, allocations: 347.6 kB / 290.5 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.01711, allocations: 1.812 MB / 292.3 MB, free: 13.81 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.0183, allocations: 0.5641 MB / 292.9 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.0186, allocations: 205.8 kB / 293.1 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.864e-05/0.01864, allocations: 16.66 kB / 293.1 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.01866, allocations: 53.98 kB / 293.1 MB, free: 12.95 MB / 282.7 MB Notification: Performance of pre-optimization done (n=72): time 1.673e-06/0.01867, allocations: 0 / 293.1 MB, free: 12.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.001929/0.02059, allocations: 0.7261 MB / 293.9 MB, free: 12.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000264/0.02086, allocations: 0.9566 MB / 294.8 MB, free: 11.01 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000593/0.02145, allocations: 0.7103 MB / 295.5 MB, free: 10.28 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.0215, allocations: 45.7 kB / 295.6 MB, free: 10.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.02176, allocations: 487.5 kB / 296 MB, free: 9.746 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.0219, allocations: 257.8 kB / 296.3 MB, free: 9.492 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.02207, allocations: 172.3 kB / 296.5 MB, free: 9.316 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.02219, allocations: 0.4965 MB / 297 MB, free: 8.812 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.02244, allocations: 211 kB / 297.2 MB, free: 8.586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006812/0.02312, allocations: 1.496 MB / 298.7 MB, free: 6.684 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/0.02362, allocations: 462 kB / 299.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.02362, allocations: 0 / 299.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0008548/0.02447, allocations: 0.8256 MB / 299.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.295e-05/0.02452, allocations: 85.09 kB / 300 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.02452, allocations: 7.938 kB / 300 MB, free: 5.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002327/0.02476, allocations: 114.4 kB / 300.1 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.02513, allocations: 151.9 kB / 300.3 MB, free: 4.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1009/0.126, allocations: 8.896 MB / 309.2 MB, free: 37.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006211/0.1266, allocations: 86.55 kB / 309.3 MB, free: 37.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.1267, allocations: 30.28 kB / 309.3 MB, free: 37.04 MB / 282.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.0002193/0.1269, allocations: 213.6 kB / 309.5 MB, free: 36.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.127, allocations: 127.7 kB / 309.6 MB, free: 36.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.871e-05/0.1271, allocations: 91.45 kB / 309.7 MB, free: 36.86 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1271, allocations: 7.125 kB / 309.7 MB, free: 36.86 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.1271, allocations: 2.625 kB / 309.7 MB, free: 36.86 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006117/0.1278, allocations: 0.77 MB / 310.5 MB, free: 36.31 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.1293, allocations: 1.327 MB / 311.8 MB, free: 35.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1293, allocations: 0 / 311.8 MB, free: 35.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/0.1297, allocations: 150.6 kB / 312 MB, free: 35.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.126e-05/0.1298, allocations: 32.23 kB / 312 MB, free: 35.92 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.1298, allocations: 17.67 kB / 312 MB, free: 35.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004305/0.1302, allocations: 1.759 MB / 313.8 MB, free: 34.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1302, allocations: 0 / 313.8 MB, free: 34.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009118/0.1312, allocations: 0.7785 MB / 314.6 MB, free: 33.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/0.1314, allocations: 177.5 kB / 314.7 MB, free: 33.83 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.553e-05/0.1315, allocations: 19.14 kB / 314.8 MB, free: 33.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.1318, allocations: 41 kB / 314.8 MB, free: 33.81 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.731e-05/0.1319, allocations: 47.78 kB / 314.8 MB, free: 33.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.1319, allocations: 18.88 kB / 314.9 MB, free: 33.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003975/0.1323, allocations: 465.1 kB / 315.3 MB, free: 33.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1323, allocations: 4.203 kB / 315.3 MB, free: 33.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005683/0.1328, allocations: 300.8 kB / 315.6 MB, free: 33.55 MB / 282.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.0001274/0.133, allocations: 128 kB / 315.7 MB, free: 33.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.1341, allocations: 1.522 MB / 317.3 MB, free: 32.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1341, allocations: 2.5 kB / 317.3 MB, free: 32.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.1344, allocations: 374.7 kB / 317.6 MB, free: 31.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007135/0.1351, allocations: 285.2 kB / 317.9 MB, free: 31.9 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.1373, allocations: 1.542 MB / 319.4 MB, free: 31.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.1374, allocations: 172.2 kB / 319.6 MB, free: 30.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003503/0.1377, allocations: 117.7 kB / 319.7 MB, free: 30.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.1379, allocations: 76.08 kB / 319.8 MB, free: 30.94 MB / 282.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1379, allocations: 1.062 kB / 319.8 MB, free: 30.94 MB / 282.7 MB Notification: Performance of Templates: time 0.02258/0.1605, allocations: 18.76 MB / 338.6 MB, free: 16.89 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.246714794076979]