Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.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.001114/0.001114, allocations: 88.52 kB / 19.93 MB, free: 4.605 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.000992/0.000992, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.9225/0.9225, allocations: 177.1 MB / 203.5 MB, free: 5.766 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.005339/0.005339, allocations: 1.191 MB / 261.1 MB, free: 12.13 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.Translational.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking") translateModel(ElectricBraking.Examples.Translational.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 383.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.795e-05, allocations: 2.281 kB / 383.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.EddyCurrentBraking): time 0.002344/0.002362, allocations: 2.191 MB / 385.7 MB, free: 11.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.003563, allocations: 0.7751 MB / 386.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.003664, allocations: 3.938 kB / 386.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.00388, allocations: 59.56 kB / 386.5 MB, free: 10.92 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.189e-05/0.003962, allocations: 71.42 kB / 386.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.00415, allocations: 67.72 kB / 386.7 MB, free: 10.78 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.004335, allocations: 214.8 kB / 386.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.004436, allocations: 33.78 kB / 386.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.004601, allocations: 119.7 kB / 387 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.364e-05/0.004684, allocations: 59.8 kB / 387.1 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.004703, allocations: 12 kB / 387.1 MB, free: 10.35 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.762e-05/0.004771, allocations: 27.98 kB / 387.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.004793, allocations: 39.84 kB / 387.2 MB, free: 10.28 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.701e-05/0.00484, allocations: 59.84 kB / 387.2 MB, free: 10.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.005042, allocations: 203.2 kB / 387.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.005044, allocations: 0 / 387.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005045, allocations: 0 / 387.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.005048, allocations: 0 / 387.4 MB, free: 10.02 MB / 314.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.0004451/0.005493, allocations: 413.4 kB / 387.8 MB, free: 9.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.005521, allocations: 12.03 kB / 387.8 MB, free: 9.578 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.00564, allocations: 36.78 kB / 387.9 MB, free: 9.543 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.00582, allocations: 181.9 kB / 388.1 MB, free: 9.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.005831, allocations: 8.375 kB / 388.1 MB, free: 9.332 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.005855, allocations: 12.38 kB / 388.1 MB, free: 9.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.006028, allocations: 148.8 kB / 388.2 MB, free: 9.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.00604, allocations: 4.172 kB / 388.2 MB, free: 9.156 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.006054, allocations: 7.938 kB / 388.2 MB, free: 9.148 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.00606, allocations: 8 kB / 388.2 MB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.006183, allocations: 83.91 kB / 388.3 MB, free: 9.059 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005951/0.006779, allocations: 0.5972 MB / 388.9 MB, free: 8.418 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.006932, allocations: 94.61 kB / 389 MB, free: 8.316 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.391e-05/0.006976, allocations: 36.89 kB / 389.1 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.006987, allocations: 0 / 389.1 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.007007, allocations: 38.5 kB / 389.1 MB, free: 8.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 8.42e-07/0.007008, allocations: 11.88 kB / 389.1 MB, free: 8.219 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008285/0.007836, allocations: 420.1 kB / 389.5 MB, free: 7.777 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.007867, allocations: 55.41 kB / 389.6 MB, free: 7.711 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.008013, allocations: 191.9 kB / 389.8 MB, free: 7.512 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.008031, allocations: 29.7 kB / 389.8 MB, free: 7.477 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.008104, allocations: 136.3 kB / 389.9 MB, free: 7.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.008136, allocations: 51.59 kB / 390 MB, free: 7.289 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.008181, allocations: 37.72 kB / 390 MB, free: 7.246 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.162e-05/0.008273, allocations: 330.8 kB / 390.3 MB, free: 6.914 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.017e-05/0.008323, allocations: 31.98 kB / 390.4 MB, free: 6.883 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.108e-05/0.008394, allocations: 81.12 kB / 390.4 MB, free: 6.785 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.008526, allocations: 133.9 kB / 390.6 MB, free: 6.633 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.008527, allocations: 0 / 390.6 MB, free: 6.633 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001699/0.008697, allocations: 165.3 kB / 390.7 MB, free: 6.465 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.00871, allocations: 7.984 kB / 390.7 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.008714, allocations: 0 / 390.7 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.008727, allocations: 4.156 kB / 390.7 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.008837, allocations: 51.92 kB / 390.8 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.008842, allocations: 0 / 390.8 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.359e-05/0.008886, allocations: 4 kB / 390.8 MB, free: 6.398 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.008895, allocations: 8 kB / 390.8 MB, free: 6.391 MB / 314.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 (21): * Single equations (assignments): 21 * 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 7.879e-05/0.008974, allocations: 129.7 kB / 390.9 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.009001, allocations: 15.91 kB / 390.9 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.009035, allocations: 25.45 kB / 391 MB, free: 6.215 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.009037, allocations: 0 / 391 MB, free: 6.215 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.009041, allocations: 4 kB / 391 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.009044, allocations: 0 / 391 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.009398, allocations: 392.5 kB / 391.4 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.009399, allocations: 0 / 391.4 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.591e-05/0.009495, allocations: 35.92 kB / 391.4 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.009497, allocations: 7.938 kB / 391.4 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.009505, allocations: 0 / 391.4 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.009508, allocations: 4 kB / 391.4 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.009509, allocations: 0 / 391.4 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.009724, allocations: 272.9 kB / 391.7 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.009742, allocations: 19.97 kB / 391.7 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.009759, allocations: 7.938 kB / 391.7 MB, free: 5.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.951e-05/0.009809, allocations: 0 / 391.7 MB, free: 5.422 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.009826, allocations: 11.97 kB / 391.7 MB, free: 5.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.009831, allocations: 4 kB / 391.7 MB, free: 5.406 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.054e-05/0.009912, allocations: 141.2 kB / 391.8 MB, free: 5.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009912, allocations: 0 / 391.8 MB, free: 5.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001899/0.0101, allocations: 39.94 kB / 391.9 MB, free: 5.23 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (massLoad.s,massLoad.v,integrator.y,heatCapacitor.T) * 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 (13): * Single equations (assignments): 13 * 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 7.507e-05/0.01018, allocations: 95.25 kB / 392 MB, free: 5.129 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.01033, allocations: 99.58 kB / 392.1 MB, free: 5.035 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01033, allocations: 0 / 392.1 MB, free: 5.035 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.284e-05/0.01037, allocations: 43.86 kB / 392.1 MB, free: 4.992 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.01063, allocations: 27.48 kB / 392.1 MB, free: 4.969 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006397/0.01127, allocations: 0.5134 MB / 392.7 MB, free: 4.414 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.331e-05/0.01135, allocations: 116.2 kB / 392.8 MB, free: 4.277 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.01138, allocations: 20.5 kB / 392.8 MB, free: 4.258 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01139, allocations: 0 / 392.8 MB, free: 4.258 MB / 314.7 MB Notification: Performance of Templates: time 0.002908/0.01429, allocations: 2.164 MB / 395 MB, free: 2.098 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking > ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.264766168314964]