Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.0009727/0.0009727, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001159/0.001159, allocations: 161.5 kB / 25.61 MB, free: 8.582 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.9421/0.9421, allocations: 177 MB / 205.9 MB, free: 4.465 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.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 274.1 MB, free: 4.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.854e-05, allocations: 4.922 kB / 274.1 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.0036/0.003619, allocations: 2.861 MB / 277 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.005917, allocations: 1.37 MB / 278.3 MB, free: 164 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.006101, allocations: 7.938 kB / 278.3 MB, free: 156 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004942/0.006596, allocations: 176.2 kB / 278.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000532/0.007128, allocations: 254.4 kB / 278.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.007427, allocations: 151.4 kB / 278.9 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005488/0.007976, allocations: 473.7 kB / 279.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.008147, allocations: 72.33 kB / 279.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000343/0.00849, allocations: 267.3 kB / 279.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.008769, allocations: 167.6 kB / 279.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.673e-05/0.008826, allocations: 35.98 kB / 279.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.00897, allocations: 67.92 kB / 280 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.66e-05/0.009066, allocations: 87.69 kB / 280.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.009219, allocations: 135.6 kB / 280.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.009562, allocations: 330.8 kB / 280.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.009565, allocations: 0 / 280.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.009566, allocations: 0 / 280.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.009573, allocations: 4 kB / 280.5 MB, free: 13.97 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001167/0.01074, allocations: 0.756 MB / 281.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.01077, allocations: 8.031 kB / 281.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.01087, allocations: 68.61 kB / 281.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.01126, allocations: 282.7 kB / 281.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.01128, allocations: 12.88 kB / 281.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/0.01133, allocations: 24.38 kB / 281.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004694/0.0118, allocations: 0.5696 MB / 282.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.01181, allocations: 192 / 282.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.01184, allocations: 12.38 kB / 282.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/0.01185, allocations: 7.938 kB / 282.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.01199, allocations: 75.36 kB / 282.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009977/0.01299, allocations: 0.6223 MB / 282.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.01321, allocations: 115.6 kB / 283.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.036e-05/0.01328, allocations: 51.66 kB / 283.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.01331, allocations: 7.938 kB / 283.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.01349, allocations: 156.4 kB / 283.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.01349, allocations: 3.938 kB / 283.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005477/0.01404, allocations: 243.8 kB / 283.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.01415, allocations: 316.4 kB / 283.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.01451, allocations: 422.5 kB / 284.2 MB, free: 9.891 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.01454, allocations: 29.7 kB / 284.3 MB, free: 9.855 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.01468, allocations: 271.1 kB / 284.5 MB, free: 9.582 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.962e-05/0.01473, allocations: 83.25 kB / 284.6 MB, free: 9.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.406e-05/0.0148, allocations: 59.34 kB / 284.7 MB, free: 9.434 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.01494, allocations: 0.5351 MB / 285.2 MB, free: 8.887 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.219e-05/0.01498, allocations: 27.97 kB / 285.2 MB, free: 8.859 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.01516, allocations: 421.3 kB / 285.6 MB, free: 8.328 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.01528, allocations: 128.4 kB / 285.8 MB, free: 8.188 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01528, allocations: 0 / 285.8 MB, free: 8.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002368/0.01552, allocations: 209.8 kB / 286 MB, free: 7.973 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.01554, allocations: 8 kB / 286 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01554, allocations: 0 / 286 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.808e-05/0.01562, allocations: 23.67 kB / 286 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.01575, allocations: 55.84 kB / 286 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.01687, allocations: 1.831 MB / 287.9 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.01698, allocations: 23.88 kB / 287.9 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.01699, allocations: 8 kB / 287.9 MB, free: 5.902 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.01709, allocations: 176.5 kB / 288.1 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.01714, allocations: 51.66 kB / 288.1 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.01736, allocations: 207.2 kB / 288.3 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01737, allocations: 4 kB / 288.3 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.01737, allocations: 0 / 288.3 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000239/0.01761, allocations: 0.5358 MB / 288.9 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.01805, allocations: 0.5613 MB / 289.4 MB, free: 4.211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01805, allocations: 0 / 289.4 MB, free: 4.211 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.01817, allocations: 47.92 kB / 289.5 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.01817, allocations: 3.984 kB / 289.5 MB, free: 4.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.01818, allocations: 8 kB / 289.5 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01819, allocations: 4 kB / 289.5 MB, free: 4.148 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01819, allocations: 0 / 289.5 MB, free: 4.148 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.01844, allocations: 376 kB / 289.9 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.506e-05/0.01851, allocations: 59.67 kB / 289.9 MB, free: 3.703 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.01854, allocations: 8 kB / 289.9 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.01865, allocations: 11.98 kB / 289.9 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.01868, allocations: 19.97 kB / 290 MB, free: 3.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.01869, allocations: 4 kB / 290 MB, free: 3.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001499/0.01884, allocations: 267 kB / 290.2 MB, free: 3.398 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01884, allocations: 4 kB / 290.2 MB, free: 3.395 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002462/0.01909, allocations: 95.83 kB / 290.3 MB, free: 3.301 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.0008408/0.01993, allocations: 399.6 kB / 290.7 MB, free: 3.031 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003254/0.02026, allocations: 316.1 kB / 291 MB, free: 2.703 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.02026, allocations: 4 kB / 291 MB, free: 2.699 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.433e-05/0.02032, allocations: 59.58 kB / 291.1 MB, free: 2.637 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.02073, allocations: 121.8 kB / 291.2 MB, free: 2.527 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.02178, allocations: 0.6932 MB / 291.9 MB, free: 1.805 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.091e-05/0.02185, allocations: 101.3 kB / 292 MB, free: 1.688 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.763e-05/0.02194, allocations: 42.95 kB / 292 MB, free: 1.645 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.02218, allocations: 214.1 kB / 292.2 MB, free: 1.434 MB / 266.7 MB Notification: Performance of SimCode: time 9.11e-07/0.02218, allocations: 4 kB / 292.3 MB, free: 1.43 MB / 266.7 MB Notification: Performance of Templates: time 0.008651/0.03083, allocations: 7.086 MB / 299.3 MB, free: 10.51 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.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.9261030671186745]