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.001262/0.001262, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001471/0.001471, allocations: 173 kB / 23.36 MB, free: 1.129 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 0.9819/0.9819, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.009625/0.009625, allocations: 2.271 MB / 262.5 MB, free: 10.67 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 1.193e-06/1.193e-06, allocations: 0 / 280 MB, free: 9.223 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.906e-05, allocations: 2.312 kB / 280 MB, free: 9.219 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.002049/0.002068, allocations: 1.555 MB / 281.5 MB, free: 7.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.0034, allocations: 1.41 MB / 282.9 MB, free: 6.234 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/0.003447, allocations: 4 kB / 282.9 MB, free: 6.23 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.0002963/0.003744, allocations: 31.84 kB / 283 MB, free: 6.199 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.317e-05/0.003837, allocations: 31.78 kB / 283 MB, free: 6.168 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.004024, allocations: 87.7 kB / 283.1 MB, free: 6.082 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.004136, allocations: 51.86 kB / 283.1 MB, free: 6.031 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.514e-05/0.004191, allocations: 7.984 kB / 283.1 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.184e-05/0.004283, allocations: 35.86 kB / 283.2 MB, free: 5.988 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.976e-05/0.004382, allocations: 19.91 kB / 283.2 MB, free: 5.969 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.004397, allocations: 4 kB / 283.2 MB, free: 5.965 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.004516, allocations: 95.91 kB / 283.3 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.00456, allocations: 7.938 kB / 283.3 MB, free: 5.863 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.004593, allocations: 19.97 kB / 283.3 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.004752, allocations: 123.6 kB / 283.4 MB, free: 5.723 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.004753, allocations: 0 / 283.4 MB, free: 5.723 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004754, allocations: 0 / 283.4 MB, free: 5.723 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.004758, allocations: 8 kB / 283.4 MB, free: 5.715 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.0003754/0.005133, allocations: 298.2 kB / 283.7 MB, free: 5.395 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.005169, allocations: 8.031 kB / 283.7 MB, free: 5.387 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.005199, allocations: 8.922 kB / 283.8 MB, free: 5.379 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.00532, allocations: 121.7 kB / 283.9 MB, free: 5.234 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.005328, allocations: 4.375 kB / 283.9 MB, free: 5.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.005339, allocations: 384 / 283.9 MB, free: 5.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.333e-05/0.005423, allocations: 78.75 kB / 284 MB, free: 5.141 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.005429, allocations: 192 / 284 MB, free: 5.141 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.005437, allocations: 8.375 kB / 284 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.005443, allocations: 7.938 kB / 284 MB, free: 5.125 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.99e-05/0.005473, allocations: 41.62 kB / 284 MB, free: 5.078 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.198e-05/0.005555, allocations: 75.81 kB / 284.1 MB, free: 4.988 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.08e-05/0.005606, allocations: 52.28 kB / 284.1 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.005638, allocations: 46.59 kB / 284.2 MB, free: 4.867 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.01e-06/0.005643, allocations: 0 / 284.2 MB, free: 4.867 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.706e-05/0.00574, allocations: 129.5 kB / 284.3 MB, free: 4.715 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 7.22e-07/0.005741, allocations: 0 / 284.3 MB, free: 4.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001477/0.005889, allocations: 166.9 kB / 284.5 MB, free: 4.527 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.005923, allocations: 85.11 kB / 284.6 MB, free: 4.426 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.732e-05/0.00599, allocations: 122.6 kB / 284.7 MB, free: 4.293 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.006003, allocations: 25.7 kB / 284.7 MB, free: 4.262 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.175e-05/0.006024, allocations: 84.12 kB / 284.8 MB, free: 4.176 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.006058, allocations: 19.89 kB / 284.8 MB, free: 4.156 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.006092, allocations: 21.7 kB / 284.8 MB, free: 4.129 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.289e-05/0.006175, allocations: 318.8 kB / 285.1 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/0.006201, allocations: 36.53 kB / 285.2 MB, free: 3.766 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.314e-05/0.006225, allocations: 49.62 kB / 285.2 MB, free: 3.711 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.156e-05/0.006286, allocations: 103 kB / 285.3 MB, free: 3.594 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.006288, allocations: 0 / 285.3 MB, free: 3.594 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.824e-05/0.006376, allocations: 125 kB / 285.4 MB, free: 3.453 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.006408, allocations: 41.7 kB / 285.5 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.006412, allocations: 0 / 285.5 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.006426, allocations: 0 / 285.5 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.904e-05/0.006485, allocations: 7.984 kB / 285.5 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.006488, allocations: 0 / 285.5 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.558e-05/0.006534, allocations: 15.83 kB / 285.5 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.006541, allocations: 4 kB / 285.5 MB, free: 3.379 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 8.03e-05/0.006622, allocations: 152.1 kB / 285.7 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.006635, allocations: 8 kB / 285.7 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.095e-05/0.006656, allocations: 12.42 kB / 285.7 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.006657, allocations: 4 kB / 285.7 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.006659, allocations: 0 / 285.7 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.006663, allocations: 3.938 kB / 285.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.723e-05/0.00673, allocations: 77.88 kB / 285.8 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.006732, allocations: 0 / 285.8 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-05/0.006744, allocations: 4 kB / 285.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.006745, allocations: 0 / 285.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.006751, allocations: 0 / 285.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006752, allocations: 0 / 285.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.006752, allocations: 3.938 kB / 285.8 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.006865, allocations: 170.1 kB / 285.9 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-06/0.006873, allocations: 7.953 kB / 285.9 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.006895, allocations: 11.98 kB / 286 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.41e-05/0.00692, allocations: 4 kB / 286 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.00694, allocations: 0 / 286 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.006951, allocations: 8 kB / 286 MB, free: 2.852 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.64e-05/0.006968, allocations: 20.83 kB / 286 MB, free: 2.828 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006968, allocations: 0 / 286 MB, free: 2.828 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001247/0.007092, allocations: 39.94 kB / 286 MB, free: 2.789 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.0007705/0.007863, allocations: 357.5 kB / 286.4 MB, free: 2.539 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.007993, allocations: 175.5 kB / 286.5 MB, free: 2.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.007995, allocations: 0 / 286.5 MB, free: 2.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.909e-05/0.008044, allocations: 110 kB / 286.7 MB, free: 2.211 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.007e-05/0.008134, allocations: 15.94 kB / 286.7 MB, free: 2.195 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002755/0.00841, allocations: 203.7 kB / 286.9 MB, free: 1.961 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.012e-05/0.00844, allocations: 63.34 kB / 286.9 MB, free: 1.879 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.893e-05/0.008459, allocations: 8 kB / 286.9 MB, free: 1.871 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.216e-05/0.008521, allocations: 67.36 kB / 287 MB, free: 1.805 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.008521, allocations: 0 / 287 MB, free: 1.805 MB / 266.7 MB Notification: Performance of Templates: time 0.002929/0.01145, allocations: 1.662 MB / 288.7 MB, free: 164 kB / 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.575210354756564]