Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001013/0.001013, 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.001995/0.001995, allocations: 164.2 kB / 24.91 MB, free: 8.754 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.9906/0.9906, allocations: 177 MB / 205.2 MB, free: 5.051 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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 3.938 kB / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.258e-05, allocations: 2.312 kB / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003228/0.00325, allocations: 3.529 MB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.004745, allocations: 1 MB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.004905, allocations: 4 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.005156, allocations: 115 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.005461, allocations: 202.2 kB / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.005673, allocations: 123.7 kB / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005058/0.006179, allocations: 0.6649 MB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.006353, allocations: 137.4 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002935/0.006646, allocations: 371.1 kB / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.006859, allocations: 199.5 kB / 279.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.225e-05/0.006911, allocations: 56 kB / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.989e-05/0.006961, allocations: 52 kB / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.95e-05/0.00703, allocations: 127.5 kB / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.007168, allocations: 203.6 kB / 280.2 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.007511, allocations: 426.5 kB / 280.6 MB, free: 9.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.007514, allocations: 0 / 280.6 MB, free: 9.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.007515, allocations: 0 / 280.6 MB, free: 9.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.00752, allocations: 4 kB / 280.6 MB, free: 9.836 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.0007307/0.008251, allocations: 0.7462 MB / 281.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.008281, allocations: 15.92 kB / 281.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.61e-05/0.008357, allocations: 72.86 kB / 281.4 MB, free: 8.973 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.008643, allocations: 263.8 kB / 281.7 MB, free: 8.688 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.803e-05/0.008721, allocations: 114.3 kB / 281.8 MB, free: 8.559 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.008761, allocations: 36.38 kB / 281.8 MB, free: 8.523 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004339/0.009195, allocations: 0.7341 MB / 282.5 MB, free: 7.637 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.009206, allocations: 192 / 282.5 MB, free: 7.637 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.009229, allocations: 28.11 kB / 282.6 MB, free: 7.609 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.009238, allocations: 8 kB / 282.6 MB, free: 7.602 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.009385, allocations: 99.16 kB / 282.7 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009506/0.01034, allocations: 0.6673 MB / 283.3 MB, free: 6.816 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/0.01079, allocations: 222.6 kB / 283.6 MB, free: 6.586 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.094e-05/0.01086, allocations: 64.75 kB / 283.6 MB, free: 6.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.01088, allocations: 8 kB / 283.6 MB, free: 6.512 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.0109, allocations: 42.55 kB / 283.7 MB, free: 6.461 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.023e-06/0.01091, allocations: 4 kB / 283.7 MB, free: 6.457 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0003922/0.0113, allocations: 235.2 kB / 283.9 MB, free: 6.215 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.01143, allocations: 445 kB / 284.3 MB, free: 5.676 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.01163, allocations: 339.3 kB / 284.7 MB, free: 5.332 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.01166, allocations: 33.7 kB / 284.7 MB, free: 5.293 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.513e-05/0.01174, allocations: 201.4 kB / 284.9 MB, free: 5.094 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.0118, allocations: 119 kB / 285 MB, free: 4.977 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.207e-05/0.01188, allocations: 73.95 kB / 285.1 MB, free: 4.895 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.01198, allocations: 358.7 kB / 285.4 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.924e-05/0.01204, allocations: 62.34 kB / 285.5 MB, free: 4.469 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.01228, allocations: 0.5774 MB / 286.1 MB, free: 3.742 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.01243, allocations: 149.2 kB / 286.2 MB, free: 3.586 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.01243, allocations: 3.938 kB / 286.2 MB, free: 3.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00024/0.01267, allocations: 266.5 kB / 286.5 MB, free: 3.297 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.0127, allocations: 37.7 kB / 286.5 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.0127, allocations: 0 / 286.5 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.809e-05/0.01279, allocations: 33.73 kB / 286.6 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.01301, allocations: 87.81 kB / 286.6 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.01423, allocations: 2.399 MB / 289 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.01438, allocations: 35.77 kB / 289.1 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.01439, allocations: 12 kB / 289.1 MB, free: 0.5117 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.0145, allocations: 141.7 kB / 289.2 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.01454, allocations: 43.95 kB / 289.3 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.01459, allocations: 48.31 kB / 289.3 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01459, allocations: 4 kB / 289.3 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.0146, allocations: 0 / 289.3 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09806/0.1127, allocations: 0.5196 MB / 289.8 MB, free: 25.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006923/0.1133, allocations: 0.49 MB / 290.3 MB, free: 25.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1133, allocations: 0.9375 kB / 290.3 MB, free: 25.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.1136, allocations: 81.02 kB / 290.4 MB, free: 25.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.1136, allocations: 6.172 kB / 290.4 MB, free: 25.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.1136, allocations: 6.484 kB / 290.4 MB, free: 25.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1136, allocations: 2.25 kB / 290.4 MB, free: 25.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1136, allocations: 1.391 kB / 290.4 MB, free: 25.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.114, allocations: 314 kB / 290.7 MB, free: 25.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.369e-05/0.1141, allocations: 56.31 kB / 290.8 MB, free: 25.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.1141, allocations: 10.83 kB / 290.8 MB, free: 25.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.1142, allocations: 17.05 kB / 290.8 MB, free: 25.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.1143, allocations: 16.31 kB / 290.8 MB, free: 25.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.1143, allocations: 8.969 kB / 290.8 MB, free: 25.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.1144, allocations: 142.9 kB / 291 MB, free: 25.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1144, allocations: 0 / 291 MB, free: 25.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003009/0.1147, allocations: 134.1 kB / 291.1 MB, free: 25.12 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.661e-05/0.1148, allocations: 92.84 kB / 291.2 MB, free: 25.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004211/0.1152, allocations: 478.8 kB / 291.7 MB, free: 24.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/0.1152, allocations: 5.75 kB / 291.7 MB, free: 24.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.383e-05/0.1153, allocations: 76.19 kB / 291.8 MB, free: 24.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.1157, allocations: 133.3 kB / 291.9 MB, free: 24.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.1169, allocations: 0.7864 MB / 292.7 MB, free: 24.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.431e-05/0.117, allocations: 107 kB / 292.8 MB, free: 24.26 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002169/0.1172, allocations: 58.36 kB / 292.8 MB, free: 24.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/0.1176, allocations: 224.7 kB / 293.1 MB, free: 24.2 MB / 266.7 MB Notification: Performance of SimCode: time 1.542e-06/0.1176, allocations: 0 / 293.1 MB, free: 24.2 MB / 266.7 MB Notification: Performance of Templates: time 0.01154/0.1291, allocations: 9.136 MB / 302.2 MB, free: 21.45 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.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: 2.724666201043874]