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.0008549/0.0008549, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002256/0.003111, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001183/0.001183, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001592/0.002775, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 1.001/1.001, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08797/1.089, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.00603/0.00603, allocations: 1.183 MB / 245.3 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001728/0.007758, allocations: 0.8265 MB / 246.2 MB, free: 12.79 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 9.02e-07/9.02e-07, allocations: 0 / 247.4 MB, free: 11.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185e-05/1.275e-05, allocations: 10.19 kB / 247.5 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.EddyCurrentBraking): time 0.002742/0.002754, allocations: 2.359 MB / 249.8 MB, free: 9.117 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009759/0.00373, allocations: 0.8295 MB / 250.6 MB, free: 8.285 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.132e-05/0.003802, allocations: 3.938 kB / 250.6 MB, free: 8.281 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.003953, allocations: 71.48 kB / 250.7 MB, free: 8.211 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.632e-05/0.004049, allocations: 67.42 kB / 250.8 MB, free: 8.145 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.004161, allocations: 63.78 kB / 250.8 MB, free: 8.082 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.00435, allocations: 218.9 kB / 251.1 MB, free: 7.867 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.989e-05/0.00443, allocations: 34.44 kB / 251.1 MB, free: 7.836 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.004621, allocations: 159.4 kB / 251.2 MB, free: 7.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.25e-05/0.004714, allocations: 63.8 kB / 251.3 MB, free: 7.617 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.004733, allocations: 12 kB / 251.3 MB, free: 7.605 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.901e-05/0.004802, allocations: 28 kB / 251.3 MB, free: 7.578 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.004824, allocations: 23.88 kB / 251.4 MB, free: 7.555 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.00487, allocations: 51.88 kB / 251.4 MB, free: 7.504 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.005052, allocations: 139.4 kB / 251.6 MB, free: 7.367 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.00506, allocations: 0 / 251.6 MB, free: 7.367 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005061, allocations: 0 / 251.6 MB, free: 7.367 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.00507, allocations: 0 / 251.6 MB, free: 7.367 MB / 250.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.0004835/0.005553, allocations: 431.6 kB / 252 MB, free: 6.922 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.625e-05/0.005579, allocations: 15.98 kB / 252 MB, free: 6.906 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.005752, allocations: 118 kB / 252.1 MB, free: 6.773 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.005921, allocations: 161.4 kB / 252.3 MB, free: 6.59 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.005932, allocations: 8.375 kB / 252.3 MB, free: 6.582 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.005955, allocations: 16.38 kB / 252.3 MB, free: 6.566 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.006093, allocations: 128.7 kB / 252.4 MB, free: 6.426 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.006106, allocations: 8.078 kB / 252.4 MB, free: 6.418 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.006118, allocations: 7.938 kB / 252.4 MB, free: 6.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.006125, allocations: 4 kB / 252.4 MB, free: 6.406 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.968e-05/0.006195, allocations: 43.95 kB / 252.5 MB, free: 6.363 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.0067, allocations: 0.4954 MB / 253 MB, free: 5.836 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.006805, allocations: 70.53 kB / 253 MB, free: 5.758 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.549e-05/0.006831, allocations: 16.86 kB / 253.1 MB, free: 5.738 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.00684, allocations: 4 kB / 253.1 MB, free: 5.734 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.006859, allocations: 30.56 kB / 253.1 MB, free: 5.695 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.00686, allocations: 3.938 kB / 253.1 MB, free: 5.691 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006881/0.007548, allocations: 352.5 kB / 253.4 MB, free: 5.316 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/0.007569, allocations: 51.41 kB / 253.5 MB, free: 5.254 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.007679, allocations: 175.9 kB / 253.7 MB, free: 5.066 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.007691, allocations: 29.7 kB / 253.7 MB, free: 5.031 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.007745, allocations: 124.5 kB / 253.8 MB, free: 4.906 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.007779, allocations: 63.52 kB / 253.9 MB, free: 4.844 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.007825, allocations: 37.64 kB / 253.9 MB, free: 4.801 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.414e-05/0.007909, allocations: 330.8 kB / 254.2 MB, free: 4.469 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.007931, allocations: 12 kB / 254.2 MB, free: 4.457 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.111e-05/0.007983, allocations: 57.98 kB / 254.3 MB, free: 4.379 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.443e-05/0.008077, allocations: 101.8 kB / 254.4 MB, free: 4.258 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.008079, allocations: 7.938 kB / 254.4 MB, free: 4.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001329/0.008212, allocations: 113.5 kB / 254.5 MB, free: 4.133 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.008224, allocations: 8 kB / 254.5 MB, free: 4.125 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.008234, allocations: 4 kB / 254.5 MB, free: 4.121 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.008249, allocations: 4 kB / 254.5 MB, free: 4.117 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.008408, allocations: 47.91 kB / 254.6 MB, free: 4.07 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.008413, allocations: 4 kB / 254.6 MB, free: 4.066 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.437e-05/0.008468, allocations: 4 kB / 254.6 MB, free: 4.062 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.008477, allocations: 8.156 kB / 254.6 MB, free: 4.055 MB / 250.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.767e-05/0.008545, allocations: 121.7 kB / 254.7 MB, free: 3.926 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.008574, allocations: 15.98 kB / 254.7 MB, free: 3.91 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.008605, allocations: 21.45 kB / 254.8 MB, free: 3.891 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.00861, allocations: 4 kB / 254.8 MB, free: 3.887 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.008612, allocations: 0 / 254.8 MB, free: 3.887 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.008615, allocations: 0 / 254.8 MB, free: 3.887 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.008911, allocations: 292.2 kB / 255 MB, free: 3.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.008914, allocations: 8.062 kB / 255.1 MB, free: 3.562 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.95e-05/0.009013, allocations: 42.34 kB / 255.1 MB, free: 3.527 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.00903, allocations: 19.84 kB / 255.1 MB, free: 3.508 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.009033, allocations: 4 kB / 255.1 MB, free: 3.504 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.00904, allocations: 0 / 255.1 MB, free: 3.504 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.009041, allocations: 0 / 255.1 MB, free: 3.504 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.009044, allocations: 7.938 kB / 255.1 MB, free: 3.496 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.00918, allocations: 205.2 kB / 255.3 MB, free: 3.273 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.009195, allocations: 7.984 kB / 255.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.612e-05/0.009241, allocations: 8 kB / 255.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/0.009256, allocations: 11.92 kB / 255.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.00926, allocations: 4 kB / 255.4 MB, free: 3.242 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.671e-05/0.009297, allocations: 50.77 kB / 255.4 MB, free: 3.191 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009297, allocations: 0 / 255.4 MB, free: 3.191 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001378/0.009435, allocations: 36 kB / 255.4 MB, free: 3.156 MB / 250.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 5.941e-05/0.009494, allocations: 80.36 kB / 255.5 MB, free: 3.066 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.816e-05/0.009582, allocations: 72.89 kB / 255.6 MB, free: 2.996 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.009589, allocations: 12.09 kB / 255.6 MB, free: 2.984 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.99e-05/0.009629, allocations: 49.58 kB / 255.7 MB, free: 2.934 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.009883, allocations: 303.8 kB / 255.9 MB, free: 2.582 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.01201, allocations: 440.7 kB / 256.4 MB, free: 2.121 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.678e-05/0.01204, allocations: 75.98 kB / 256.5 MB, free: 2.027 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.919e-05/0.01209, allocations: 17.48 kB / 256.5 MB, free: 2.012 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.064e-05/0.01218, allocations: 75.36 kB / 256.5 MB, free: 1.938 MB / 250.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01219, allocations: 0 / 256.5 MB, free: 1.938 MB / 250.7 MB Notification: Performance of Templates: time 0.00334/0.01553, allocations: 1.905 MB / 258.4 MB, free: 76 kB / 250.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5501696057617664]