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.0006576/0.0006576, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008553/0.001513, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006856/0.0006856, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008567/0.001542, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9631/0.9631, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1048/1.068, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.004435/0.004435, allocations: 1.204 MB / 245.2 MB, free: 13.7 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00116/0.005596, allocations: 0.8076 MB / 246 MB, free: 12.89 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.212e-06/1.212e-06, allocations: 0 / 247.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.846e-06/1.006e-05, allocations: 6.312 kB / 247.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.EddyCurrentBraking): time 0.002133/0.002143, allocations: 2.308 MB / 249.6 MB, free: 9.281 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008905/0.003033, allocations: 0.8333 MB / 250.4 MB, free: 8.445 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.644e-05/0.00311, allocations: 7.938 kB / 250.4 MB, free: 8.438 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.003263, allocations: 71.48 kB / 250.5 MB, free: 8.367 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.737e-05/0.00334, allocations: 63.42 kB / 250.5 MB, free: 8.305 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001066/0.003447, allocations: 67.77 kB / 250.6 MB, free: 8.238 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.003611, allocations: 199 kB / 250.8 MB, free: 8.043 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.237e-05/0.003704, allocations: 34.44 kB / 250.8 MB, free: 8.012 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.00388, allocations: 143.6 kB / 251 MB, free: 7.871 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.055e-05/0.00397, allocations: 59.81 kB / 251 MB, free: 7.812 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.00399, allocations: 12 kB / 251 MB, free: 7.801 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.723e-05/0.004067, allocations: 31.98 kB / 251.1 MB, free: 7.77 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.004087, allocations: 23.88 kB / 251.1 MB, free: 7.746 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.004129, allocations: 51.88 kB / 251.1 MB, free: 7.695 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.004323, allocations: 135.5 kB / 251.3 MB, free: 7.562 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.75e-05/0.004341, allocations: 0 / 251.3 MB, free: 7.562 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.004342, allocations: 0 / 251.3 MB, free: 7.562 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.004359, allocations: 0 / 251.3 MB, free: 7.562 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.000562/0.004921, allocations: 427.6 kB / 251.7 MB, free: 7.121 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.00495, allocations: 11.98 kB / 251.7 MB, free: 7.109 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.005116, allocations: 114 kB / 251.8 MB, free: 6.98 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.005279, allocations: 166.1 kB / 252 MB, free: 6.789 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.00529, allocations: 8.375 kB / 252 MB, free: 6.781 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.005311, allocations: 20.36 kB / 252 MB, free: 6.762 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.005431, allocations: 116.8 kB / 252.1 MB, free: 6.633 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.005441, allocations: 4.125 kB / 252.1 MB, free: 6.629 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.005451, allocations: 7.938 kB / 252.1 MB, free: 6.621 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.005457, allocations: 4 kB / 252.1 MB, free: 6.617 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.103e-05/0.005518, allocations: 39.97 kB / 252.2 MB, free: 6.578 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.006003, allocations: 0.5071 MB / 252.7 MB, free: 6.043 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.889e-05/0.006092, allocations: 66.53 kB / 252.8 MB, free: 5.969 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.372e-05/0.006115, allocations: 16.98 kB / 252.8 MB, free: 5.949 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.006123, allocations: 0 / 252.8 MB, free: 5.949 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.006144, allocations: 38.5 kB / 252.8 MB, free: 5.902 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 6.91e-07/0.006144, allocations: 0 / 252.8 MB, free: 5.902 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001193/0.006264, allocations: 73.61 kB / 252.9 MB, free: 5.824 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.00629, allocations: 51.41 kB / 252.9 MB, free: 5.762 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.856e-05/0.006378, allocations: 183 kB / 253.1 MB, free: 5.57 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.619e-06/0.006388, allocations: 33.64 kB / 253.1 MB, free: 5.531 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.006432, allocations: 119.8 kB / 253.3 MB, free: 5.41 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.006456, allocations: 43.62 kB / 253.3 MB, free: 5.367 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.006491, allocations: 37.69 kB / 253.3 MB, free: 5.324 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.454e-05/0.006565, allocations: 326.8 kB / 253.7 MB, free: 4.996 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.65e-05/0.006582, allocations: 11.98 kB / 253.7 MB, free: 4.984 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/0.006619, allocations: 50.02 kB / 253.7 MB, free: 4.914 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.665e-05/0.006686, allocations: 85.84 kB / 253.8 MB, free: 4.809 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.006688, allocations: 4 kB / 253.8 MB, free: 4.805 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 8.926e-05/0.006777, allocations: 105.5 kB / 253.9 MB, free: 4.695 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.006788, allocations: 7.938 kB / 253.9 MB, free: 4.688 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.006792, allocations: 0 / 253.9 MB, free: 4.688 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.196e-06/0.0068, allocations: 4 kB / 253.9 MB, free: 4.684 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.006947, allocations: 35.98 kB / 254 MB, free: 4.648 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.00695, allocations: 0 / 254 MB, free: 4.648 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.93e-05/0.00699, allocations: 16.14 kB / 254 MB, free: 4.633 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.006994, allocations: 4 kB / 254 MB, free: 4.629 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 (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.564e-05/0.00706, allocations: 129.6 kB / 254.1 MB, free: 4.492 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.007077, allocations: 11.94 kB / 254.1 MB, free: 4.48 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.007107, allocations: 21.45 kB / 254.1 MB, free: 4.461 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.007108, allocations: 0 / 254.1 MB, free: 4.461 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.00711, allocations: 0 / 254.1 MB, free: 4.461 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.007113, allocations: 0 / 254.1 MB, free: 4.461 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.007223, allocations: 113.8 kB / 254.2 MB, free: 4.332 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.007224, allocations: 0 / 254.2 MB, free: 4.332 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.789e-05/0.007312, allocations: 31.98 kB / 254.3 MB, free: 4.301 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.399e-05/0.007326, allocations: 19.78 kB / 254.3 MB, free: 4.281 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.007328, allocations: 3.984 kB / 254.3 MB, free: 4.277 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.007335, allocations: 0 / 254.3 MB, free: 4.277 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.007335, allocations: 0 / 254.3 MB, free: 4.277 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.007336, allocations: 0 / 254.3 MB, free: 4.277 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.007455, allocations: 179.4 kB / 254.5 MB, free: 4.086 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.007472, allocations: 11.94 kB / 254.5 MB, free: 4.074 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.006e-05/0.007512, allocations: 0 / 254.5 MB, free: 4.074 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/0.007523, allocations: 3.984 kB / 254.5 MB, free: 4.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.007526, allocations: 4 kB / 254.5 MB, free: 4.066 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.13e-05/0.007558, allocations: 48.81 kB / 254.5 MB, free: 4.016 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007558, allocations: 0 / 254.5 MB, free: 4.016 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000144/0.007702, allocations: 39.89 kB / 254.6 MB, free: 3.977 MB / 250.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 5.455e-05/0.007756, allocations: 72.42 kB / 254.7 MB, free: 3.895 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.87e-05/0.007835, allocations: 57.19 kB / 254.7 MB, free: 3.836 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.00784, allocations: 4 kB / 254.7 MB, free: 3.832 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.029e-05/0.00786, allocations: 24.78 kB / 254.7 MB, free: 3.805 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.008033, allocations: 52.31 kB / 254.8 MB, free: 3.754 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.01074, allocations: 449.2 kB / 255.2 MB, free: 3.289 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.102e-05/0.01078, allocations: 75.83 kB / 255.3 MB, free: 3.195 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.92e-05/0.01083, allocations: 13.48 kB / 255.3 MB, free: 3.184 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.334e-05/0.0109, allocations: 79.34 kB / 255.4 MB, free: 3.105 MB / 250.7 MB Notification: Performance of SimCode: time 7.92e-07/0.0109, allocations: 0 / 255.4 MB, free: 3.105 MB / 250.7 MB Notification: Performance of Templates: time 0.003146/0.01405, allocations: 1.63 MB / 257 MB, free: 1.516 MB / 250.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.4157148441299796]