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.0008419/0.0008419, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001301/0.002143, 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.00111/0.00111, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001452/0.002561, 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.045/1.045, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07697/1.122, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.004467/0.004467, allocations: 1.19 MB / 245.3 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.005849, allocations: 0.823 MB / 246.2 MB, free: 12.78 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.462e-06/1.462e-06, allocations: 0 / 247.4 MB, free: 11.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029e-05/1.175e-05, allocations: 6.312 kB / 247.4 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.EddyCurrentBraking): time 0.002296/0.002308, allocations: 2.313 MB / 249.8 MB, free: 9.148 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009038/0.003212, allocations: 0.841 MB / 250.6 MB, free: 8.305 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.473e-05/0.003297, allocations: 7.938 kB / 250.6 MB, free: 8.297 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.003454, allocations: 59.55 kB / 250.7 MB, free: 8.238 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.803e-05/0.003532, allocations: 67.48 kB / 250.7 MB, free: 8.172 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.003646, allocations: 71.7 kB / 250.8 MB, free: 8.102 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.003954, allocations: 202.9 kB / 251 MB, free: 7.902 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.929e-05/0.004053, allocations: 34.44 kB / 251 MB, free: 7.871 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.004243, allocations: 150.3 kB / 251.2 MB, free: 7.727 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.004336, allocations: 59.8 kB / 251.2 MB, free: 7.668 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.004356, allocations: 12 kB / 251.3 MB, free: 7.656 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-05/0.00443, allocations: 24 kB / 251.3 MB, free: 7.633 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.004452, allocations: 31.88 kB / 251.3 MB, free: 7.602 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.004489, allocations: 43.94 kB / 251.3 MB, free: 7.559 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.004667, allocations: 135.5 kB / 251.5 MB, free: 7.426 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.004676, allocations: 0 / 251.5 MB, free: 7.426 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004677, allocations: 0 / 251.5 MB, free: 7.426 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.004685, allocations: 0 / 251.5 MB, free: 7.426 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.0004533/0.005139, allocations: 423.5 kB / 251.9 MB, free: 6.988 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.689e-05/0.005166, allocations: 15.98 kB / 251.9 MB, free: 6.973 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.005337, allocations: 122 kB / 252 MB, free: 6.836 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.005493, allocations: 158.2 kB / 252.2 MB, free: 6.652 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.005504, allocations: 12.38 kB / 252.2 MB, free: 6.641 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.005527, allocations: 16.31 kB / 252.2 MB, free: 6.625 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.00565, allocations: 116.7 kB / 252.3 MB, free: 6.496 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.00566, allocations: 192 / 252.3 MB, free: 6.496 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.005671, allocations: 11.94 kB / 252.3 MB, free: 6.484 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.005677, allocations: 8 kB / 252.3 MB, free: 6.477 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.825e-05/0.005736, allocations: 39.92 kB / 252.4 MB, free: 6.438 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.006221, allocations: 0.5071 MB / 252.9 MB, free: 5.898 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.554e-05/0.006307, allocations: 54.55 kB / 252.9 MB, free: 5.836 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.006326, allocations: 12.86 kB / 253 MB, free: 5.82 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.006335, allocations: 8 kB / 253 MB, free: 5.812 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.006355, allocations: 38.5 kB / 253 MB, free: 5.766 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 8.01e-07/0.006355, allocations: 0 / 253 MB, free: 5.766 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001161/0.006471, allocations: 73.78 kB / 253.1 MB, free: 5.688 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.006494, allocations: 55.41 kB / 253.1 MB, free: 5.621 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.782e-05/0.006582, allocations: 179 kB / 253.3 MB, free: 5.434 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.958e-06/0.006592, allocations: 25.7 kB / 253.3 MB, free: 5.402 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.006635, allocations: 127.8 kB / 253.5 MB, free: 5.273 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.006656, allocations: 47.55 kB / 253.5 MB, free: 5.227 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.006687, allocations: 25.7 kB / 253.5 MB, free: 5.195 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.049e-05/0.006757, allocations: 326.8 kB / 253.8 MB, free: 4.867 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.006774, allocations: 19.98 kB / 253.9 MB, free: 4.848 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.654e-05/0.00681, allocations: 54 kB / 253.9 MB, free: 4.773 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.368e-05/0.006874, allocations: 89.78 kB / 254 MB, free: 4.664 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006876, allocations: 0 / 254 MB, free: 4.664 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 8.75e-05/0.006963, allocations: 101.5 kB / 254.1 MB, free: 4.559 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.006974, allocations: 7.938 kB / 254.1 MB, free: 4.551 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.006979, allocations: 4 kB / 254.1 MB, free: 4.547 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.006992, allocations: 4 kB / 254.1 MB, free: 4.543 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.007133, allocations: 43.91 kB / 254.2 MB, free: 4.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.007136, allocations: 0 / 254.2 MB, free: 4.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.007175, allocations: 11.95 kB / 254.2 MB, free: 4.488 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.007181, allocations: 4 kB / 254.2 MB, free: 4.484 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 0.0002907/0.007471, allocations: 121.9 kB / 254.3 MB, free: 4.355 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.007493, allocations: 23.91 kB / 254.3 MB, free: 4.332 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.007519, allocations: 17.47 kB / 254.3 MB, free: 4.316 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.007521, allocations: 0 / 254.3 MB, free: 4.316 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.007522, allocations: 0 / 254.3 MB, free: 4.316 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.007526, allocations: 3.984 kB / 254.3 MB, free: 4.312 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.007633, allocations: 105.8 kB / 254.4 MB, free: 4.191 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007634, allocations: 0 / 254.4 MB, free: 4.191 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.541e-05/0.007729, allocations: 29.22 kB / 254.5 MB, free: 4.164 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.007745, allocations: 19.84 kB / 254.5 MB, free: 4.145 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.007746, allocations: 0 / 254.5 MB, free: 4.145 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.007754, allocations: 8 kB / 254.5 MB, free: 4.137 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.007756, allocations: 0 / 254.5 MB, free: 4.137 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007757, allocations: 0 / 254.5 MB, free: 4.137 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.00788, allocations: 183.4 kB / 254.7 MB, free: 3.941 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.007894, allocations: 7.938 kB / 254.7 MB, free: 3.934 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.057e-05/0.007935, allocations: 0 / 254.7 MB, free: 3.934 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.00795, allocations: 7.984 kB / 254.7 MB, free: 3.926 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.007954, allocations: 4 kB / 254.7 MB, free: 3.922 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.157e-05/0.007985, allocations: 41.88 kB / 254.7 MB, free: 3.879 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007985, allocations: 0 / 254.7 MB, free: 3.879 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001458/0.008131, allocations: 39.89 kB / 254.8 MB, free: 3.84 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.977e-05/0.008191, allocations: 88.81 kB / 254.9 MB, free: 3.742 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.213e-05/0.008273, allocations: 60.77 kB / 254.9 MB, free: 3.68 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.008277, allocations: 0 / 254.9 MB, free: 3.68 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.813e-05/0.008305, allocations: 36.77 kB / 255 MB, free: 3.641 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.008546, allocations: 283.8 kB / 255.2 MB, free: 3.309 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.01119, allocations: 457.2 kB / 255.7 MB, free: 2.836 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.194e-05/0.01124, allocations: 75.83 kB / 255.8 MB, free: 2.742 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.915e-05/0.01129, allocations: 21.52 kB / 255.8 MB, free: 2.723 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.41e-05/0.01136, allocations: 75.36 kB / 255.9 MB, free: 2.648 MB / 250.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01136, allocations: 0 / 255.9 MB, free: 2.648 MB / 250.7 MB Notification: Performance of Templates: time 0.003015/0.01438, allocations: 1.633 MB / 257.5 MB, free: 1.07 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.526888968423009]