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.001215/0.001215, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.00101/0.00101, allocations: 160.2 kB / 24.91 MB, free: 8.766 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.9593/0.9593, allocations: 177 MB / 205.2 MB, free: 5.062 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.402e-06/1.402e-06, allocations: 0 / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.008e-05, allocations: 2.312 kB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005547/0.005567, allocations: 5.569 MB / 279 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003187/0.008754, allocations: 1.491 MB / 280.5 MB, free: 9.938 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005339/0.009288, allocations: 15.88 kB / 280.5 MB, free: 9.922 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005075/0.009795, allocations: 206.3 kB / 280.7 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008468/0.01064, allocations: 420.3 kB / 281.1 MB, free: 9.305 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005612/0.0112, allocations: 259.5 kB / 281.4 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001756/0.01296, allocations: 1.428 MB / 282.8 MB, free: 7.617 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004131/0.01337, allocations: 279.6 kB / 283.1 MB, free: 7.312 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.01441, allocations: 0.7874 MB / 283.9 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006521/0.01507, allocations: 438.8 kB / 284.3 MB, free: 6.094 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.01523, allocations: 116 kB / 284.4 MB, free: 5.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.01539, allocations: 120 kB / 284.5 MB, free: 5.863 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.01555, allocations: 259.1 kB / 284.8 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004023/0.01596, allocations: 451 kB / 285.2 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000899/0.01686, allocations: 0.903 MB / 286.1 MB, free: 4.262 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.01686, allocations: 0 / 286.1 MB, free: 4.262 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01686, allocations: 4 kB / 286.1 MB, free: 4.258 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.743e-05/0.01689, allocations: 4 kB / 286.1 MB, free: 4.254 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.001716/0.0186, allocations: 1.388 MB / 287.5 MB, free: 2.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.01864, allocations: 11.98 kB / 287.5 MB, free: 2.809 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.01884, allocations: 152.8 kB / 287.7 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006226/0.01947, allocations: 429.8 kB / 288.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002072/0.01967, allocations: 301.9 kB / 288.4 MB, free: 1.863 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.897e-05/0.01977, allocations: 88.36 kB / 288.5 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1023/0.1221, allocations: 1.632 MB / 290.1 MB, free: 25.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.1221, allocations: 192 / 290.1 MB, free: 25.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.83e-05/0.1222, allocations: 38.19 kB / 290.1 MB, free: 25.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.1222, allocations: 16.22 kB / 290.1 MB, free: 25.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.1226, allocations: 231.3 kB / 290.4 MB, free: 25.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0022/0.1248, allocations: 1.277 MB / 291.7 MB, free: 25.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.1258, allocations: 491.5 kB / 292.1 MB, free: 25.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/0.126, allocations: 160.3 kB / 292.3 MB, free: 25.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.141e-05/0.1261, allocations: 16.88 kB / 292.3 MB, free: 25.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.1261, allocations: 56.27 kB / 292.4 MB, free: 25.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.906e-06/0.1261, allocations: 1.031 kB / 292.4 MB, free: 25.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.0008583/0.127, allocations: 0.5203 MB / 292.9 MB, free: 25.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.1271, allocations: 0.9573 MB / 293.8 MB, free: 24.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004354/0.1275, allocations: 0.5779 MB / 294.4 MB, free: 24.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.1276, allocations: 45.11 kB / 294.5 MB, free: 24.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.1277, allocations: 327 kB / 294.8 MB, free: 24.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.1278, allocations: 260.4 kB / 295 MB, free: 23.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.128, allocations: 158.9 kB / 295.2 MB, free: 23.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.287e-05/0.128, allocations: 339.2 kB / 295.5 MB, free: 23.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.1282, allocations: 161.5 kB / 295.7 MB, free: 23.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.1285, allocations: 1.345 MB / 297 MB, free: 22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.1289, allocations: 386.7 kB / 297.4 MB, free: 21.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1289, allocations: 6.562 kB / 297.4 MB, free: 21.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005841/0.1295, allocations: 0.6021 MB / 298 MB, free: 21.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.1295, allocations: 89.61 kB / 298.1 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1295, allocations: 2.344 kB / 298.1 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001947/0.1297, allocations: 93.73 kB / 298.2 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.1301, allocations: 184.1 kB / 298.4 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.1321, allocations: 5.995 MB / 304.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/0.1325, allocations: 92 kB / 304.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.1325, allocations: 16.12 kB / 304.5 MB, free: 15.77 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.0001529/0.1327, allocations: 177.1 kB / 304.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.1328, allocations: 87.7 kB / 304.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.098e-05/0.1329, allocations: 93.8 kB / 304.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1329, allocations: 7.922 kB / 304.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.1329, allocations: 1.562 kB / 304.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003578/0.1332, allocations: 0.6597 MB / 305.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.1343, allocations: 0.902 MB / 306.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1343, allocations: 0 / 306.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004314/0.1347, allocations: 193.6 kB / 306.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-05/0.1348, allocations: 22.11 kB / 306.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.1348, allocations: 15.78 kB / 306.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000319/0.1351, allocations: 1.19 MB / 307.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1352, allocations: 5.375 kB / 307.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006003/0.1358, allocations: 0.5559 MB / 308.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.1359, allocations: 106 kB / 308.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.802e-05/0.136, allocations: 18.28 kB / 308.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002713/0.1363, allocations: 35.78 kB / 308.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.1363, allocations: 50.3 kB / 308.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.1363, allocations: 14.11 kB / 308.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002231/0.1366, allocations: 289.4 kB / 308.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1366, allocations: 0 / 308.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000496/0.1371, allocations: 302.4 kB / 309.2 MB, free: 13.34 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.0001063/0.1372, allocations: 107.4 kB / 309.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007251/0.1379, allocations: 1.173 MB / 310.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/0.1379, allocations: 9.875 kB / 310.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.1381, allocations: 284.8 kB / 310.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.1386, allocations: 288.5 kB / 311 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.1402, allocations: 1.471 MB / 312.5 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.597e-05/0.1403, allocations: 169.5 kB / 312.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002875/0.1406, allocations: 126.8 kB / 312.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005858/0.1412, allocations: 439.1 kB / 313.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1412, allocations: 0 / 313.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of Templates: time 0.01944/0.1606, allocations: 20.3 MB / 333.5 MB, free: 7.43 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 -s gbode -gbm=radauIIA3 -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.0826071090996265]