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.001447/0.001447, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001558/0.001558, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9418/0.9418, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.006642/0.006642, allocations: 1.205 MB / 262.2 MB, free: 11.75 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 2.444e-06/2.444e-06, allocations: 4 kB / 331.6 MB, free: 3.883 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/2.069e-05, allocations: 4.844 kB / 331.6 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.EddyCurrentBraking): time 0.00252/0.002541, allocations: 2.288 MB / 333.8 MB, free: 1.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.00356, allocations: 0.814 MB / 334.7 MB, free: 0.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.003669, allocations: 4 kB / 334.7 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.003915, allocations: 67.44 kB / 334.7 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.038e-05/0.004005, allocations: 71.41 kB / 334.8 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.004185, allocations: 63.8 kB / 334.9 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.004361, allocations: 210.9 kB / 335.1 MB, free: 348 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.004463, allocations: 29.78 kB / 335.1 MB, free: 316 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.004636, allocations: 127.6 kB / 335.2 MB, free: 188 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.004741, allocations: 63.73 kB / 335.3 MB, free: 124 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.004763, allocations: 16 kB / 335.3 MB, free: 108 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.502e-05/0.004828, allocations: 27.92 kB / 335.3 MB, free: 80 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.004852, allocations: 35.84 kB / 335.4 MB, free: 44 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.67e-05/0.004909, allocations: 63.92 kB / 335.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.005096, allocations: 143.4 kB / 335.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.005098, allocations: 0 / 335.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.005099, allocations: 0 / 335.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.005103, allocations: 0 / 335.6 MB, free: 15.84 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.0004641/0.005567, allocations: 0.5035 MB / 336.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.005595, allocations: 8.031 kB / 336.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.005733, allocations: 64.7 kB / 336.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.005889, allocations: 176.2 kB / 336.3 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.0059, allocations: 8.375 kB / 336.3 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.00592, allocations: 16.38 kB / 336.3 MB, free: 15.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.006052, allocations: 129.2 kB / 336.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.006062, allocations: 192 / 336.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.006074, allocations: 7.938 kB / 336.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.00608, allocations: 4 kB / 336.5 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.815e-05/0.006148, allocations: 55.89 kB / 336.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.006685, allocations: 0.7039 MB / 337.2 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.006792, allocations: 82.89 kB / 337.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/0.006817, allocations: 23.78 kB / 337.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-06/0.006823, allocations: 4 kB / 337.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.006843, allocations: 37.39 kB / 337.4 MB, free: 13.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.006844, allocations: 4 kB / 337.4 MB, free: 13.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006053/0.00745, allocations: 349.6 kB / 337.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.007472, allocations: 63.34 kB / 337.8 MB, free: 13.42 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.007586, allocations: 243.3 kB / 338 MB, free: 13.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.007596, allocations: 25.7 kB / 338 MB, free: 13.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.007663, allocations: 187.1 kB / 338.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.007688, allocations: 47.56 kB / 338.3 MB, free: 12.9 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.00773, allocations: 55.23 kB / 338.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.007835, allocations: 0.5001 MB / 338.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.929e-05/0.007854, allocations: 11.98 kB / 338.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.149e-05/0.007905, allocations: 88.77 kB / 338.9 MB, free: 12.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.528e-05/0.007991, allocations: 121 kB / 339 MB, free: 12.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.007992, allocations: 0 / 339 MB, free: 12.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001281/0.00812, allocations: 129.4 kB / 339.2 MB, free: 11.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.008131, allocations: 8 kB / 339.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.008136, allocations: 0 / 339.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.008147, allocations: 4.156 kB / 339.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/0.008243, allocations: 43.92 kB / 339.2 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.008248, allocations: 7.984 kB / 339.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.008293, allocations: 4 kB / 339.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.008301, allocations: 8 kB / 339.2 MB, free: 11.85 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 6.927e-05/0.00837, allocations: 168.5 kB / 339.4 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.008395, allocations: 15.91 kB / 339.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.008427, allocations: 21.47 kB / 339.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.00843, allocations: 4 kB / 339.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.008433, allocations: 4 kB / 339.5 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.008437, allocations: 3.984 kB / 339.5 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.008743, allocations: 397.2 kB / 339.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.008744, allocations: 0 / 339.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.048e-05/0.008835, allocations: 35.92 kB / 339.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.008836, allocations: 0 / 339.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.008844, allocations: 4 kB / 339.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.008845, allocations: 0 / 339.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.008847, allocations: 3.984 kB / 339.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.009015, allocations: 295.9 kB / 340.2 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.009032, allocations: 24.05 kB / 340.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.009046, allocations: 3.984 kB / 340.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.941e-05/0.009096, allocations: 4 kB / 340.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.478e-05/0.009111, allocations: 15.92 kB / 340.2 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.009115, allocations: 0 / 340.2 MB, free: 10.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.051e-05/0.009175, allocations: 173.1 kB / 340.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009175, allocations: 0 / 340.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001745/0.00935, allocations: 35.94 kB / 340.4 MB, free: 10.59 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 6.428e-05/0.009414, allocations: 95.25 kB / 340.5 MB, free: 10.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.686e-05/0.009511, allocations: 79.47 kB / 340.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.009515, allocations: 0 / 340.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.18e-05/0.009547, allocations: 39.59 kB / 340.6 MB, free: 10.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.00978, allocations: 35.89 kB / 340.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007515/0.01053, allocations: 0.5264 MB / 341.2 MB, free: 9.762 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.76e-05/0.0106, allocations: 116.2 kB / 341.3 MB, free: 9.625 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.551e-05/0.01069, allocations: 98.19 kB / 341.4 MB, free: 9.527 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.0107, allocations: 0 / 341.4 MB, free: 9.527 MB / 314.7 MB Notification: Performance of Templates: time 0.002295/0.01299, allocations: 2.167 MB / 343.6 MB, free: 7.363 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: 3.4475862332619727]