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.0009255/0.0009255, allocations: 76.94 kB / 19.93 MB, free: 4.543 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.0008858/0.0008858, allocations: 172.9 kB / 23.36 MB, free: 1.125 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.9253/0.9253, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.005031/0.005031, allocations: 1.204 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.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.102e-06/1.102e-06, allocations: 0 / 278.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.475e-05, allocations: 2.312 kB / 278.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.EddyCurrentBraking): time 0.002348/0.002362, allocations: 2.304 MB / 280.6 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009576/0.00332, allocations: 0.8334 MB / 281.5 MB, free: 7.758 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.111e-05/0.003411, allocations: 7.938 kB / 281.5 MB, free: 7.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.003623, allocations: 63.48 kB / 281.5 MB, free: 7.688 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.888e-05/0.003702, allocations: 71.41 kB / 281.6 MB, free: 7.617 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.00386, allocations: 55.86 kB / 281.6 MB, free: 7.562 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.004025, allocations: 218.8 kB / 281.9 MB, free: 7.348 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.389e-05/0.004119, allocations: 38.38 kB / 281.9 MB, free: 7.312 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.004274, allocations: 119.6 kB / 282 MB, free: 7.195 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.399e-05/0.004368, allocations: 63.8 kB / 282.1 MB, free: 7.133 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.004386, allocations: 12 kB / 282.1 MB, free: 7.121 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.551e-05/0.004442, allocations: 35.98 kB / 282.1 MB, free: 7.086 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.004464, allocations: 35.84 kB / 282.2 MB, free: 7.051 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.478e-05/0.004509, allocations: 59.83 kB / 282.2 MB, free: 6.992 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.004683, allocations: 147.4 kB / 282.4 MB, free: 6.848 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.004686, allocations: 3.984 kB / 282.4 MB, free: 6.844 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004686, allocations: 0 / 282.4 MB, free: 6.844 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.00469, allocations: 0 / 282.4 MB, free: 6.844 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.0003936/0.005083, allocations: 395.9 kB / 282.8 MB, free: 6.434 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.005112, allocations: 8.031 kB / 282.8 MB, free: 6.426 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.005248, allocations: 40.89 kB / 282.8 MB, free: 6.387 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.005397, allocations: 157.5 kB / 283 MB, free: 6.207 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.005408, allocations: 12.31 kB / 283 MB, free: 6.195 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.005431, allocations: 20.33 kB / 283 MB, free: 6.176 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.005551, allocations: 132.7 kB / 283.1 MB, free: 6.031 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.005562, allocations: 4.125 kB / 283.1 MB, free: 6.027 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.005572, allocations: 11.94 kB / 283.1 MB, free: 6.016 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.005578, allocations: 4 kB / 283.1 MB, free: 6.012 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.954e-05/0.005638, allocations: 43.97 kB / 283.2 MB, free: 5.969 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.006066, allocations: 0.4915 MB / 283.7 MB, free: 5.449 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.821e-05/0.006154, allocations: 66.53 kB / 283.7 MB, free: 5.375 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.006174, allocations: 12.86 kB / 283.7 MB, free: 5.359 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.006182, allocations: 8 kB / 283.8 MB, free: 5.352 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.006204, allocations: 42.48 kB / 283.8 MB, free: 5.301 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.006205, allocations: 0 / 283.8 MB, free: 5.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005508/0.006755, allocations: 341 kB / 284.1 MB, free: 4.934 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.00678, allocations: 55.41 kB / 284.2 MB, free: 4.867 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.359e-05/0.006874, allocations: 180.2 kB / 284.4 MB, free: 4.676 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.006884, allocations: 29.7 kB / 284.4 MB, free: 4.641 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.006928, allocations: 128.3 kB / 284.5 MB, free: 4.512 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.00695, allocations: 51.58 kB / 284.6 MB, free: 4.461 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.006984, allocations: 37.69 kB / 284.6 MB, free: 4.418 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.218e-05/0.007047, allocations: 326.8 kB / 284.9 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.007064, allocations: 15.98 kB / 284.9 MB, free: 4.074 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.827e-05/0.007102, allocations: 61.98 kB / 285 MB, free: 3.992 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.291e-05/0.007175, allocations: 97.59 kB / 285.1 MB, free: 3.879 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.007177, allocations: 3.938 kB / 285.1 MB, free: 3.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 9.909e-05/0.007276, allocations: 117.6 kB / 285.2 MB, free: 3.754 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.007287, allocations: 8 kB / 285.2 MB, free: 3.746 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.007291, allocations: 0 / 285.2 MB, free: 3.746 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.007302, allocations: 4 kB / 285.2 MB, free: 3.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.376e-05/0.007385, allocations: 39.92 kB / 285.3 MB, free: 3.703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.007389, allocations: 0 / 285.3 MB, free: 3.703 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.918e-05/0.007428, allocations: 8 kB / 285.3 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.007434, allocations: 4 kB / 285.3 MB, free: 3.691 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 (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 5.662e-05/0.00749, allocations: 129.6 kB / 285.4 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.902e-05/0.007509, allocations: 15.98 kB / 285.4 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.497e-05/0.007534, allocations: 21.5 kB / 285.4 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.007536, allocations: 4 kB / 285.4 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.007537, allocations: 0 / 285.4 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.007541, allocations: 4 kB / 285.4 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.007794, allocations: 304.2 kB / 285.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.007795, allocations: 0 / 285.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.032e-05/0.007875, allocations: 27.98 kB / 285.8 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.007877, allocations: 0 / 285.8 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.007884, allocations: 8 kB / 285.8 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.007885, allocations: 4.062 kB / 285.8 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.007887, allocations: 4 kB / 285.8 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.008016, allocations: 209.1 kB / 286 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.008031, allocations: 15.91 kB / 286 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.008046, allocations: 8 kB / 286 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.343e-05/0.008089, allocations: 0 / 286 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.028e-05/0.00811, allocations: 7.984 kB / 286 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.008115, allocations: 7.984 kB / 286 MB, free: 2.875 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.274e-05/0.008148, allocations: 46.78 kB / 286.1 MB, free: 2.828 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008148, allocations: 0 / 286.1 MB, free: 2.828 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001413/0.008289, allocations: 40 kB / 286.1 MB, free: 2.789 MB / 266.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.342e-05/0.008352, allocations: 92.28 kB / 286.2 MB, free: 2.688 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.619e-05/0.008439, allocations: 76.06 kB / 286.3 MB, free: 2.613 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.008441, allocations: 0 / 286.3 MB, free: 2.613 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.616e-05/0.008467, allocations: 36.78 kB / 286.3 MB, free: 2.574 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.008637, allocations: 28.17 kB / 286.3 MB, free: 2.551 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006593/0.009297, allocations: 484.7 kB / 286.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.626e-05/0.009333, allocations: 71.98 kB / 286.9 MB, free: 1.957 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.579e-05/0.009379, allocations: 17.48 kB / 286.9 MB, free: 1.941 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.974e-05/0.009448, allocations: 75.36 kB / 287 MB, free: 1.867 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.009449, allocations: 3.938 kB / 287 MB, free: 1.863 MB / 266.7 MB Notification: Performance of Templates: time 0.003031/0.01248, allocations: 1.751 MB / 288.7 MB, free: 160 kB / 266.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.5555839091539383]