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.0009073/0.0009073, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.000999/0.000999, allocations: 173 kB / 23.36 MB, free: 1.133 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.9259/0.9259, allocations: 177.2 MB / 203.8 MB, free: 5.449 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.008778/0.008778, allocations: 2.267 MB / 262.5 MB, free: 10.64 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.313e-06/1.313e-06, allocations: 0 / 280 MB, free: 9.129 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.439e-05/1.57e-05, allocations: 6.25 kB / 280 MB, free: 9.121 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.004873/0.004889, allocations: 1.586 MB / 281.6 MB, free: 7.523 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004554/0.009442, allocations: 1.414 MB / 283 MB, free: 6.102 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.009491, allocations: 4 kB / 283 MB, free: 6.098 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.0002854/0.009777, allocations: 39.77 kB / 283.1 MB, free: 6.059 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.378e-05/0.009871, allocations: 31.84 kB / 283.1 MB, free: 6.027 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.01007, allocations: 67.73 kB / 283.2 MB, free: 5.961 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.453e-05/0.01016, allocations: 55.84 kB / 283.2 MB, free: 5.906 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.367e-05/0.01019, allocations: 15.92 kB / 283.2 MB, free: 5.891 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.703e-05/0.01026, allocations: 23.98 kB / 283.3 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.594e-05/0.01035, allocations: 19.92 kB / 283.3 MB, free: 5.848 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.01036, allocations: 4 kB / 283.3 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.01052, allocations: 103.8 kB / 283.4 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.272e-05/0.01056, allocations: 19.92 kB / 283.4 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.01059, allocations: 15.94 kB / 283.4 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.01076, allocations: 123.7 kB / 283.5 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.01076, allocations: 0 / 283.5 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.01076, allocations: 0 / 283.5 MB, free: 5.586 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.01077, allocations: 0 / 283.5 MB, free: 5.586 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.003309/0.01408, allocations: 306.2 kB / 283.8 MB, free: 5.258 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.01411, allocations: 8.031 kB / 283.8 MB, free: 5.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.01414, allocations: 4.938 kB / 283.9 MB, free: 5.246 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.01427, allocations: 125.7 kB / 284 MB, free: 5.098 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.01428, allocations: 4.375 kB / 284 MB, free: 5.094 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.01429, allocations: 4.375 kB / 284 MB, free: 5.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.72e-05/0.01438, allocations: 74.77 kB / 284.1 MB, free: 5.004 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.01438, allocations: 192 / 284.1 MB, free: 5.004 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.01439, allocations: 4.375 kB / 284.1 MB, free: 5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.0144, allocations: 3.938 kB / 284.1 MB, free: 4.996 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.667e-05/0.01444, allocations: 45.69 kB / 284.1 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.786e-05/0.01452, allocations: 71.81 kB / 284.2 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.674e-05/0.01457, allocations: 60.2 kB / 284.2 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.0146, allocations: 42.56 kB / 284.3 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.679e-06/0.01461, allocations: 0 / 284.3 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/0.01471, allocations: 125.7 kB / 284.4 MB, free: 4.586 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 9.41e-07/0.01471, allocations: 0 / 284.4 MB, free: 4.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001601/0.01487, allocations: 166.7 kB / 284.6 MB, free: 4.398 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.0149, allocations: 85.11 kB / 284.6 MB, free: 4.297 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/0.01498, allocations: 122.8 kB / 284.8 MB, free: 4.164 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.01499, allocations: 29.7 kB / 284.8 MB, free: 4.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.192e-05/0.01501, allocations: 80.14 kB / 284.9 MB, free: 4.047 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.01504, allocations: 19.88 kB / 284.9 MB, free: 4.027 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.01508, allocations: 25.66 kB / 284.9 MB, free: 3.996 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.621e-05/0.01515, allocations: 318.8 kB / 285.2 MB, free: 3.676 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.541e-05/0.01519, allocations: 40.53 kB / 285.3 MB, free: 3.629 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.888e-05/0.01522, allocations: 45.69 kB / 285.3 MB, free: 3.578 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.866e-05/0.01529, allocations: 94.92 kB / 285.4 MB, free: 3.469 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.01529, allocations: 0 / 285.4 MB, free: 3.469 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001019/0.01539, allocations: 121.1 kB / 285.5 MB, free: 3.332 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.01542, allocations: 45.69 kB / 285.6 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.01542, allocations: 0 / 285.6 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.01543, allocations: 0 / 285.6 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.775e-05/0.01548, allocations: 4 kB / 285.6 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.01548, allocations: 0 / 285.6 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.01553, allocations: 19.81 kB / 285.6 MB, free: 3.258 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.01554, allocations: 4 kB / 285.6 MB, free: 3.254 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.396e-05/0.01563, allocations: 160 kB / 285.8 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.01565, allocations: 11.98 kB / 285.8 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.636e-05/0.01566, allocations: 4.438 kB / 285.8 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01566, allocations: 4 kB / 285.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.01567, allocations: 0 / 285.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.01567, allocations: 7.922 kB / 285.8 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.204e-05/0.01574, allocations: 73.91 kB / 285.9 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01574, allocations: 0 / 285.9 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.01576, allocations: 7.984 kB / 285.9 MB, free: 2.953 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01577, allocations: 0 / 285.9 MB, free: 2.953 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.01578, allocations: 4 kB / 285.9 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01578, allocations: 0 / 285.9 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01578, allocations: 0 / 285.9 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.01592, allocations: 178 kB / 286 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.01593, allocations: 7.953 kB / 286 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.01595, allocations: 4 kB / 286.1 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.481e-05/0.01599, allocations: 8 kB / 286.1 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.01601, allocations: 3.984 kB / 286.1 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.01602, allocations: 4 kB / 286.1 MB, free: 2.715 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.259e-05/0.01604, allocations: 20.78 kB / 286.1 MB, free: 2.691 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01604, allocations: 0 / 286.1 MB, free: 2.691 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001939/0.01624, allocations: 39.94 kB / 286.1 MB, free: 2.652 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.00397/0.02021, allocations: 356.2 kB / 286.5 MB, free: 2.402 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.02036, allocations: 171.5 kB / 286.6 MB, free: 2.207 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.02036, allocations: 0 / 286.6 MB, free: 2.207 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.163e-05/0.02043, allocations: 113.9 kB / 286.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.58e-05/0.02052, allocations: 12 kB / 286.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.02082, allocations: 199.7 kB / 287 MB, free: 1.832 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.011e-05/0.02085, allocations: 63.34 kB / 287 MB, free: 1.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.075e-05/0.02087, allocations: 11.98 kB / 287 MB, free: 1.738 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.356e-05/0.02094, allocations: 63.38 kB / 287.1 MB, free: 1.676 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02094, allocations: 0 / 287.1 MB, free: 1.676 MB / 266.7 MB Notification: Performance of Templates: time 0.006527/0.02747, allocations: 1.659 MB / 288.8 MB, free: 36 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternData_ExternData.Examples.MATTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5143395997583866]