Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.MATTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009482/0.0009482, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 173 kB / 23.5 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.014/1.014, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.0106/0.0106, allocations: 2.247 MB / 262.5 MB, free: 10.86 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternData.Examples.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") translateModel(ExternData.Examples.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.554e-06/2.554e-06, allocations: 0 / 332.8 MB, free: 16.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.429e-05, allocations: 6.312 kB / 332.8 MB, free: 16.76 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.002819/0.002853, allocations: 1.54 MB / 334.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.004269, allocations: 1.387 MB / 335.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.058e-05/0.004329, allocations: 0 / 335.7 MB, free: 13.81 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:123:3-145:14:writable] Warning: Pure function 'ExternData.MATFile' contains a call to impure function 'ExternData.Types.ExternMATFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.004669, allocations: 39.77 kB / 335.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.004789, allocations: 35.78 kB / 335.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.005031, allocations: 79.78 kB / 335.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.005139, allocations: 55.84 kB / 335.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.173e-05/0.005171, allocations: 0 / 335.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.567e-05/0.005247, allocations: 35.91 kB / 336 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.005356, allocations: 23.91 kB / 336 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.005372, allocations: 0 / 336 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.005516, allocations: 95.8 kB / 336.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.005567, allocations: 19.92 kB / 336.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.005603, allocations: 8 kB / 336.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.005768, allocations: 123.7 kB / 336.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.00577, allocations: 4 kB / 336.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005771, allocations: 4 kB / 336.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.005775, allocations: 0 / 336.3 MB, free: 13.29 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003318/0.006107, allocations: 430 kB / 336.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.006138, allocations: 8.031 kB / 336.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.006181, allocations: 8.891 kB / 336.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.006308, allocations: 132.4 kB / 336.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.006319, allocations: 4.375 kB / 336.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.006329, allocations: 384 / 336.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.599e-05/0.006425, allocations: 79.94 kB / 336.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.006432, allocations: 4.188 kB / 336.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.006441, allocations: 4.375 kB / 336.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.006449, allocations: 3.938 kB / 336.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.56e-05/0.006485, allocations: 45.69 kB / 337 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001007/0.006586, allocations: 128.5 kB / 337.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.069e-05/0.006626, allocations: 68.7 kB / 337.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.006662, allocations: 53.42 kB / 337.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-06/0.006669, allocations: 0 / 337.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.418e-05/0.006763, allocations: 128.4 kB / 337.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.006764, allocations: 0 / 337.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002271/0.006991, allocations: 206.7 kB / 337.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.007019, allocations: 89.05 kB / 337.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.88e-05/0.007087, allocations: 177.9 kB / 337.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.007095, allocations: 25.7 kB / 337.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.02e-05/0.007115, allocations: 134.9 kB / 338 MB, free: 11.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.00714, allocations: 15.86 kB / 338 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.00717, allocations: 31.36 kB / 338 MB, free: 11.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.971e-05/0.00721, allocations: 0.4884 MB / 338.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.574e-05/0.007245, allocations: 41.69 kB / 338.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.338e-05/0.007269, allocations: 45.69 kB / 338.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.841e-05/0.007327, allocations: 103.2 kB / 338.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.007329, allocations: 4 kB / 338.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001101/0.007439, allocations: 161.5 kB / 338.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.00746, allocations: 37.69 kB / 338.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.007464, allocations: 0 / 338.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.007477, allocations: 7.938 kB / 338.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.612e-05/0.007533, allocations: 7.938 kB / 338.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.007537, allocations: 0 / 338.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.295e-05/0.00758, allocations: 11.89 kB / 338.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.007586, allocations: 0 / 338.9 MB, free: 10.33 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 5.215e-05/0.007638, allocations: 194.3 kB / 339.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.007654, allocations: 15.95 kB / 339.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.724e-05/0.007671, allocations: 16.42 kB / 339.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.007672, allocations: 0 / 339.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.007676, allocations: 3.938 kB / 339.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.007679, allocations: 0 / 339.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.161e-05/0.00773, allocations: 132.6 kB / 339.3 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.007731, allocations: 0 / 339.3 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.809e-06/0.007741, allocations: 8.125 kB / 339.3 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.007742, allocations: 0 / 339.3 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.007751, allocations: 3.984 kB / 339.3 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.007752, allocations: 4 kB / 339.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.007752, allocations: 4 kB / 339.3 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.007883, allocations: 227.6 kB / 339.5 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-06/0.007892, allocations: 0 / 339.5 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.00791, allocations: 4 kB / 339.5 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.318e-05/0.007933, allocations: 12 kB / 339.5 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.007962, allocations: 3.938 kB / 339.5 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.007973, allocations: 7.984 kB / 339.5 MB, free: 9.613 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.411e-05/0.007997, allocations: 135.1 kB / 339.7 MB, free: 9.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007997, allocations: 0 / 339.7 MB, free: 9.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001639/0.008161, allocations: 39.92 kB / 339.7 MB, free: 9.441 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0006631/0.008824, allocations: 294.3 kB / 340 MB, free: 9.211 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.008962, allocations: 186.4 kB / 340.2 MB, free: 9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008963, allocations: 0 / 340.2 MB, free: 9 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.03e-05/0.009004, allocations: 120.8 kB / 340.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.009153, allocations: 14.81 kB / 340.3 MB, free: 8.848 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.009418, allocations: 197.8 kB / 340.5 MB, free: 8.621 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.19e-05/0.00944, allocations: 67.2 kB / 340.6 MB, free: 8.535 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.269e-05/0.009463, allocations: 7.984 kB / 340.6 MB, free: 8.527 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.009484, allocations: 16.5 kB / 340.6 MB, free: 8.512 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.009485, allocations: 0 / 340.6 MB, free: 8.512 MB / 266.7 MB Notification: Performance of Templates: time 0.002833/0.01232, allocations: 1.558 MB / 342.1 MB, free: 6.973 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.MATTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.MATTest.pipe ; mkfifo ExternData_ExternData.Examples.MATTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.MATTest.pipe >> ../files/ExternData_ExternData.Examples.MATTest.sim & ./ExternData_ExternData.Examples.MATTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternData_ExternData.Examples.MATTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.877787536010146]