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.001215/0.001215, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001034/0.001034, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.038/1.038, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.009675/0.009675, allocations: 1.194 MB / 261.1 MB, free: 11.91 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 2.064e-06/2.064e-06, allocations: 0 / 331.1 MB, free: 3.363 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.253e-05/3.46e-05, allocations: 2.312 kB / 331.1 MB, free: 3.359 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.EddyCurrentBraking): time 0.004246/0.004281, allocations: 2.263 MB / 333.4 MB, free: 1.074 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.005415, allocations: 0.818 MB / 334.2 MB, free: 260 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.005525, allocations: 7.938 kB / 334.2 MB, free: 252 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.00583, allocations: 63.5 kB / 334.3 MB, free: 188 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.892e-05/0.005918, allocations: 67.47 kB / 334.4 MB, free: 120 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.006143, allocations: 59.8 kB / 334.4 MB, free: 60 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.00636, allocations: 210.8 kB / 334.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.006487, allocations: 37.72 kB / 334.7 MB, free: 15.81 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.006672, allocations: 119.6 kB / 334.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.006778, allocations: 59.81 kB / 334.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.006806, allocations: 12 kB / 334.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.029e-05/0.006877, allocations: 27.98 kB / 334.9 MB, free: 15.6 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.006901, allocations: 31.84 kB / 334.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.088e-05/0.006952, allocations: 59.83 kB / 335 MB, free: 15.51 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.00717, allocations: 143.4 kB / 335.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.007174, allocations: 0 / 335.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.007176, allocations: 0 / 335.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.007181, allocations: 0 / 335.1 MB, free: 15.37 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.0005442/0.007725, allocations: 0.4997 MB / 335.6 MB, free: 14.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.007769, allocations: 12.03 kB / 335.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.007942, allocations: 44.78 kB / 335.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.008152, allocations: 173.9 kB / 335.8 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.008165, allocations: 12.38 kB / 335.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.00819, allocations: 12.38 kB / 335.8 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.008364, allocations: 137.2 kB / 336 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.008377, allocations: 4.188 kB / 336 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.008391, allocations: 7.938 kB / 336 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.0084, allocations: 4 kB / 336 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.908e-05/0.008489, allocations: 51.89 kB / 336 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006858/0.009174, allocations: 0.754 MB / 336.8 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.009306, allocations: 87.02 kB / 336.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/0.009341, allocations: 31.59 kB / 336.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.00935, allocations: 0 / 336.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.009374, allocations: 37.39 kB / 337 MB, free: 13.35 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.009376, allocations: 0 / 337 MB, free: 13.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001986/0.009574, allocations: 93.69 kB / 337 MB, free: 13.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.009608, allocations: 55.41 kB / 337.1 MB, free: 13.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.009759, allocations: 225.8 kB / 337.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.009774, allocations: 33.7 kB / 337.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.111e-05/0.009865, allocations: 186.3 kB / 337.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.009894, allocations: 35.7 kB / 337.6 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.009947, allocations: 43.36 kB / 337.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.01008, allocations: 0.4962 MB / 338.1 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.171e-05/0.01011, allocations: 11.98 kB / 338.1 MB, free: 12.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.264e-05/0.01017, allocations: 89.64 kB / 338.2 MB, free: 12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.629e-05/0.01027, allocations: 109.7 kB / 338.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01027, allocations: 4 kB / 338.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001399/0.01041, allocations: 137.3 kB / 338.5 MB, free: 11.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.01042, allocations: 4 kB / 338.5 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01043, allocations: 4 kB / 338.5 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.01044, allocations: 0 / 338.5 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.01054, allocations: 31.98 kB / 338.5 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.01055, allocations: 3.938 kB / 338.5 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.487e-05/0.01061, allocations: 16.08 kB / 338.5 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.01062, allocations: 8 kB / 338.5 MB, free: 11.65 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 (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 9.591e-05/0.01072, allocations: 160.6 kB / 338.7 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.01076, allocations: 19.84 kB / 338.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.942e-05/0.0108, allocations: 21.45 kB / 338.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.0108, allocations: 3.984 kB / 338.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.01081, allocations: 4 kB / 338.7 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.01081, allocations: 4 kB / 338.7 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.01097, allocations: 160.6 kB / 338.9 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.01098, allocations: 0 / 338.9 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.621e-05/0.01106, allocations: 27.92 kB / 338.9 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.644e-06/0.01106, allocations: 7.938 kB / 338.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.01108, allocations: 8 kB / 338.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01108, allocations: 0 / 338.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01108, allocations: 0 / 338.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.01128, allocations: 247.8 kB / 339.2 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/0.0113, allocations: 19.83 kB / 339.2 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.01131, allocations: 4 kB / 339.2 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.403e-05/0.01136, allocations: 4 kB / 339.2 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.999e-05/0.01138, allocations: 3.984 kB / 339.2 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.01138, allocations: 4 kB / 339.2 MB, free: 10.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.852e-05/0.01146, allocations: 172.2 kB / 339.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01146, allocations: 0 / 339.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001877/0.01165, allocations: 35.89 kB / 339.4 MB, free: 10.7 MB / 314.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 9.299e-05/0.01174, allocations: 103.2 kB / 339.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.01189, allocations: 63.58 kB / 339.6 MB, free: 10.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01189, allocations: 3.938 kB / 339.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.117e-05/0.01192, allocations: 35.61 kB / 339.6 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.01218, allocations: 31.17 kB / 339.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009437/0.01312, allocations: 0.4918 MB / 340.1 MB, free: 9.938 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.5e-05/0.01317, allocations: 67.84 kB / 340.2 MB, free: 9.852 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.868e-05/0.01321, allocations: 13.48 kB / 340.2 MB, free: 9.836 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.01325, allocations: 16.5 kB / 340.2 MB, free: 9.816 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01325, allocations: 0 / 340.2 MB, free: 9.816 MB / 314.7 MB Notification: Performance of Templates: time 0.003207/0.01646, allocations: 1.446 MB / 341.7 MB, free: 8.398 MB / 314.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.9656942640431225]