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.001392/0.001392, 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.001104/0.001104, allocations: 161.1 kB / 24.91 MB, free: 8.727 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.9535/0.9535, allocations: 177 MB / 205.2 MB, free: 5.012 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.243e-06/1.243e-06, allocations: 0 / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.673e-05, allocations: 2.312 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004626/0.004642, allocations: 5.522 MB / 278.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.006908, allocations: 1.506 MB / 280.4 MB, free: 9.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000289/0.007197, allocations: 15.94 kB / 280.4 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.007534, allocations: 202.2 kB / 280.6 MB, free: 9.766 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005648/0.008099, allocations: 416.4 kB / 281 MB, free: 9.355 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.008478, allocations: 271.4 kB / 281.3 MB, free: 9.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.009503, allocations: 1.42 MB / 282.7 MB, free: 7.664 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.009803, allocations: 271.7 kB / 283 MB, free: 7.367 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006716/0.01047, allocations: 0.7913 MB / 283.8 MB, free: 6.574 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004389/0.01091, allocations: 434.7 kB / 284.2 MB, free: 6.148 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.01103, allocations: 120 kB / 284.3 MB, free: 6.031 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.01115, allocations: 120 kB / 284.4 MB, free: 5.914 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.01128, allocations: 263.1 kB / 284.7 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.01159, allocations: 451 kB / 285.1 MB, free: 5.215 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006734/0.01227, allocations: 0.9108 MB / 286 MB, free: 4.301 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.01227, allocations: 0 / 286 MB, free: 4.301 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01227, allocations: 0 / 286 MB, free: 4.301 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.01229, allocations: 0 / 286 MB, free: 4.301 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.001572/0.01386, allocations: 1.388 MB / 287.4 MB, free: 2.867 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.01389, allocations: 11.98 kB / 287.4 MB, free: 2.855 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.01404, allocations: 152.8 kB / 287.6 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/0.01452, allocations: 421.8 kB / 288 MB, free: 2.266 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.01468, allocations: 309.8 kB / 288.3 MB, free: 1.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.211e-05/0.01476, allocations: 84.38 kB / 288.4 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09783/0.1126, allocations: 1.634 MB / 290 MB, free: 26.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.1126, allocations: 1.969 kB / 290 MB, free: 26.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-05/0.1127, allocations: 36.66 kB / 290.1 MB, free: 26.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.1127, allocations: 16.22 kB / 290.1 MB, free: 26.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.1131, allocations: 228.7 kB / 290.3 MB, free: 26.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002062/0.1151, allocations: 1.278 MB / 291.6 MB, free: 25.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.1161, allocations: 490.1 kB / 292 MB, free: 25.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.1164, allocations: 159.5 kB / 292.2 MB, free: 25.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.507e-05/0.1164, allocations: 20.47 kB / 292.2 MB, free: 25.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1164, allocations: 52.19 kB / 292.3 MB, free: 25.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.096e-06/0.1164, allocations: 1.344 kB / 292.3 MB, free: 25.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.0008361/0.1173, allocations: 0.527 MB / 292.8 MB, free: 25.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.1174, allocations: 0.9494 MB / 293.8 MB, free: 24.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004235/0.1178, allocations: 0.5766 MB / 294.3 MB, free: 24.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.484e-05/0.1178, allocations: 45.73 kB / 294.4 MB, free: 24.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.118, allocations: 326.9 kB / 294.7 MB, free: 24.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.94e-05/0.1181, allocations: 260.9 kB / 294.9 MB, free: 24.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.1182, allocations: 161.7 kB / 295.1 MB, free: 24.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.971e-05/0.1183, allocations: 339.5 kB / 295.4 MB, free: 23.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.1184, allocations: 161.9 kB / 295.6 MB, free: 23.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.1188, allocations: 1.344 MB / 296.9 MB, free: 22.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.1191, allocations: 387.1 kB / 297.3 MB, free: 22.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1191, allocations: 7.844 kB / 297.3 MB, free: 22.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005578/0.1197, allocations: 0.6057 MB / 297.9 MB, free: 21.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.1197, allocations: 86.03 kB / 298 MB, free: 21.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1197, allocations: 1.094 kB / 298 MB, free: 21.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001912/0.1199, allocations: 99.72 kB / 298.1 MB, free: 21.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.1202, allocations: 144.9 kB / 298.3 MB, free: 21.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.1221, allocations: 5.991 MB / 304.2 MB, free: 16.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.1224, allocations: 88.2 kB / 304.3 MB, free: 16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.1225, allocations: 20.58 kB / 304.4 MB, free: 16 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.0001579/0.1226, allocations: 172.4 kB / 304.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.1227, allocations: 93.73 kB / 304.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.731e-05/0.1228, allocations: 94.66 kB / 304.7 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1228, allocations: 12.2 kB / 304.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1228, allocations: 0 / 304.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003539/0.1232, allocations: 0.6524 MB / 305.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.1242, allocations: 0.9112 MB / 306.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1242, allocations: 0 / 306.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/0.1246, allocations: 151 kB / 306.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-05/0.1246, allocations: 19.66 kB / 306.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.1246, allocations: 19.62 kB / 306.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000295/0.1249, allocations: 1.173 MB / 307.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1249, allocations: 2.359 kB / 307.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005641/0.1255, allocations: 0.5634 MB / 308.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.1257, allocations: 101 kB / 308.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.215e-05/0.1257, allocations: 23.58 kB / 308.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.126, allocations: 35.7 kB / 308.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.1261, allocations: 42.5 kB / 308.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.1261, allocations: 12.27 kB / 308.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002329/0.1263, allocations: 295.2 kB / 308.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1263, allocations: 4 kB / 308.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004724/0.1268, allocations: 305.9 kB / 309 MB, free: 13.54 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.0001122/0.1269, allocations: 103.5 kB / 309.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006909/0.1276, allocations: 1.172 MB / 310.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/0.1276, allocations: 10.78 kB / 310.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.1278, allocations: 281.1 kB / 310.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.1284, allocations: 279.2 kB / 310.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.13, allocations: 1.483 MB / 312.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.079e-05/0.1301, allocations: 171 kB / 312.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002791/0.1303, allocations: 125.7 kB / 312.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005637/0.1309, allocations: 432.1 kB / 313 MB, free: 11.29 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1309, allocations: 0 / 313 MB, free: 11.29 MB / 266.7 MB Notification: Performance of Templates: time 0.01913/0.15, allocations: 20 MB / 333 MB, free: 8.105 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.0936981681734324]