Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.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.00095/0.00095, 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.0009167/0.0009167, allocations: 173.4 kB / 23.35 MB, free: 1.137 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.8913/0.8913, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo): time 0.007707/0.007707, allocations: 1.2 MB / 261.5 MB, free: 11.77 MB / 250.7 MB " [Timeout remaining time 180] Using package ElectricBraking with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.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(ElectricBraking.Examples.Rotational.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking") translateModel(ElectricBraking.Examples.Rotational.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 3.938 kB / 278.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.362e-05, allocations: 2.312 kB / 278.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.EddyCurrentBraking): time 0.003151/0.003175, allocations: 2.257 MB / 280.6 MB, free: 8.633 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.004205, allocations: 0.8372 MB / 281.4 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.746e-05/0.004302, allocations: 7.938 kB / 281.4 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.004535, allocations: 59.55 kB / 281.5 MB, free: 7.727 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.163e-05/0.004617, allocations: 63.48 kB / 281.5 MB, free: 7.664 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.004791, allocations: 67.78 kB / 281.6 MB, free: 7.598 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.004965, allocations: 206.9 kB / 281.8 MB, free: 7.395 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.005066, allocations: 38.36 kB / 281.9 MB, free: 7.359 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.005224, allocations: 115.7 kB / 282 MB, free: 7.246 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.237e-05/0.005317, allocations: 59.8 kB / 282 MB, free: 7.188 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.005335, allocations: 12 kB / 282 MB, free: 7.176 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.572e-05/0.005391, allocations: 31.98 kB / 282.1 MB, free: 7.145 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.005413, allocations: 31.84 kB / 282.1 MB, free: 7.113 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.005454, allocations: 59.86 kB / 282.2 MB, free: 7.055 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.005684, allocations: 143.4 kB / 282.3 MB, free: 6.914 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.005687, allocations: 4 kB / 282.3 MB, free: 6.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.005688, allocations: 0 / 282.3 MB, free: 6.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.005693, allocations: 0 / 282.3 MB, free: 6.91 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004335/0.006127, allocations: 380 kB / 282.7 MB, free: 6.516 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.006154, allocations: 8.031 kB / 282.7 MB, free: 6.508 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.006289, allocations: 44.84 kB / 282.7 MB, free: 6.465 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.006438, allocations: 162.2 kB / 282.9 MB, free: 6.277 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.006448, allocations: 8.375 kB / 282.9 MB, free: 6.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.006472, allocations: 24.31 kB / 282.9 MB, free: 6.246 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.006588, allocations: 120.7 kB / 283 MB, free: 6.113 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.006597, allocations: 4.172 kB / 283 MB, free: 6.109 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.006608, allocations: 7.938 kB / 283 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.006614, allocations: 4 kB / 283 MB, free: 6.098 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.782e-05/0.006671, allocations: 43.92 kB / 283.1 MB, free: 6.055 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.00714, allocations: 0.5031 MB / 283.6 MB, free: 5.523 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.35e-05/0.007224, allocations: 62.53 kB / 283.7 MB, free: 5.453 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.007243, allocations: 16.86 kB / 283.7 MB, free: 5.434 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-06/0.007251, allocations: 0 / 283.7 MB, free: 5.434 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.007269, allocations: 34.5 kB / 283.7 MB, free: 5.391 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 6.71e-07/0.007269, allocations: 8 kB / 283.7 MB, free: 5.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001146/0.007384, allocations: 69.8 kB / 283.8 MB, free: 5.309 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.007407, allocations: 51.41 kB / 283.8 MB, free: 5.246 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.316e-05/0.00749, allocations: 170.5 kB / 284 MB, free: 5.066 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.0075, allocations: 29.7 kB / 284 MB, free: 5.031 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.007544, allocations: 127.8 kB / 284.2 MB, free: 4.902 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.007568, allocations: 35.69 kB / 284.2 MB, free: 4.867 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.007601, allocations: 41.62 kB / 284.2 MB, free: 4.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.607e-05/0.007667, allocations: 326.8 kB / 284.5 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.007682, allocations: 8 kB / 284.6 MB, free: 4.484 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.687e-05/0.007729, allocations: 54 kB / 284.6 MB, free: 4.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.232e-05/0.007791, allocations: 85.84 kB / 284.7 MB, free: 4.305 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.007793, allocations: 3.938 kB / 284.7 MB, free: 4.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 9.75e-05/0.007891, allocations: 101.6 kB / 284.8 MB, free: 4.195 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.007902, allocations: 15.97 kB / 284.8 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.007906, allocations: 0 / 284.8 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.007916, allocations: 4 kB / 284.8 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.267e-05/0.007999, allocations: 35.92 kB / 284.8 MB, free: 4.141 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.008004, allocations: 4 kB / 284.9 MB, free: 4.137 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.792e-05/0.008042, allocations: 11.89 kB / 284.9 MB, free: 4.125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.008047, allocations: 4 kB / 284.9 MB, free: 4.121 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 prepare postOptimizeDAE: time 6.023e-05/0.008107, allocations: 121.8 kB / 285 MB, free: 3.992 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.008127, allocations: 19.92 kB / 285 MB, free: 3.973 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.008156, allocations: 17.47 kB / 285 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.008157, allocations: 4 kB / 285 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.008159, allocations: 4 kB / 285 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.008162, allocations: 0 / 285 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.008265, allocations: 101.8 kB / 285.1 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.008266, allocations: 0 / 285.1 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.125e-05/0.008337, allocations: 27.98 kB / 285.2 MB, free: 3.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.21e-07/0.008338, allocations: 0 / 285.2 MB, free: 3.805 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.008345, allocations: 0 / 285.2 MB, free: 3.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.008348, allocations: 3.938 kB / 285.2 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.008349, allocations: 3.984 kB / 285.2 MB, free: 3.797 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.008472, allocations: 191.4 kB / 285.4 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.418e-05/0.008486, allocations: 11.89 kB / 285.4 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.0085, allocations: 4 kB / 285.4 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.017e-05/0.00854, allocations: 11.88 kB / 285.4 MB, free: 3.566 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.008552, allocations: 7.984 kB / 285.4 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.008555, allocations: 0 / 285.4 MB, free: 3.559 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.197e-05/0.008587, allocations: 45.86 kB / 285.4 MB, free: 3.512 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008587, allocations: 0 / 285.4 MB, free: 3.512 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001615/0.008748, allocations: 35.95 kB / 285.5 MB, free: 3.477 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (inertiaLoad.w,integrator.y,heatCapacitor.T,eddyCurrentTorque.phi) * 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 (9): * Single equations (assignments): 9 * 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 6.403e-05/0.008812, allocations: 84.36 kB / 285.5 MB, free: 3.383 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.486e-05/0.008887, allocations: 48.78 kB / 285.6 MB, free: 3.332 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.008892, allocations: 4 kB / 285.6 MB, free: 3.328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.058e-05/0.008912, allocations: 25.25 kB / 285.6 MB, free: 3.301 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.009084, allocations: 30.77 kB / 285.7 MB, free: 3.273 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00074/0.009824, allocations: 480.6 kB / 286.1 MB, free: 2.777 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.588e-05/0.00986, allocations: 75.83 kB / 286.2 MB, free: 2.684 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.363e-05/0.009904, allocations: 17.48 kB / 286.2 MB, free: 2.664 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.481e-05/0.009969, allocations: 71.36 kB / 286.3 MB, free: 2.594 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.009969, allocations: 0 / 286.3 MB, free: 2.594 MB / 266.7 MB Notification: Performance of Templates: time 0.002817/0.01279, allocations: 1.472 MB / 287.8 MB, free: 1.156 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5576781760901213]