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.0008327/0.0008327, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009383/0.0009383, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9568/0.9568, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.004883/0.004883, allocations: 1.193 MB / 262.2 MB, free: 11.75 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 8.01e-07/8.01e-07, allocations: 0 / 331.6 MB, free: 18.84 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.777e-06/9.578e-06, allocations: 4.703 kB / 331.6 MB, free: 18.83 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.EddyCurrentBraking): time 0.001892/0.001901, allocations: 2.253 MB / 333.8 MB, free: 16.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000764/0.002665, allocations: 0.814 MB / 334.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.316e-05/0.002738, allocations: 7.938 kB / 334.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.002883, allocations: 59.44 kB / 334.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.517e-05/0.002948, allocations: 71.47 kB / 334.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.003071, allocations: 59.8 kB / 334.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.003187, allocations: 210.9 kB / 335 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.312e-05/0.00325, allocations: 29.78 kB / 335.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.003359, allocations: 119.6 kB / 335.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.933e-05/0.003429, allocations: 55.81 kB / 335.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.003443, allocations: 12 kB / 335.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.469e-05/0.003488, allocations: 35.92 kB / 335.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.003504, allocations: 35.84 kB / 335.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.003535, allocations: 59.84 kB / 335.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.003661, allocations: 135.5 kB / 335.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003663, allocations: 4 kB / 335.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.4e-07/0.003663, allocations: 0 / 335.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.725e-06/0.003666, allocations: 0 / 335.5 MB, free: 14.86 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.0002711/0.003937, allocations: 0.4996 MB / 336 MB, free: 14.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 1.981e-05/0.003957, allocations: 12.03 kB / 336 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.004066, allocations: 44.83 kB / 336.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.004169, allocations: 179.1 kB / 336.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.004177, allocations: 12.31 kB / 336.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.004193, allocations: 12.38 kB / 336.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.475e-05/0.004288, allocations: 129.2 kB / 336.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.004296, allocations: 4.188 kB / 336.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.954e-06/0.004304, allocations: 7.938 kB / 336.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.004308, allocations: 8 kB / 336.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.442e-05/0.004373, allocations: 44.39 kB / 336.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.004794, allocations: 0.7234 MB / 337.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.89e-05/0.004873, allocations: 71.06 kB / 337.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.056e-05/0.004893, allocations: 19.69 kB / 337.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-06/0.004899, allocations: 12.03 kB / 337.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.26e-05/0.004912, allocations: 49.39 kB / 337.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.004913, allocations: 0 / 337.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001022/0.005015, allocations: 77.58 kB / 337.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.463e-05/0.00503, allocations: 55.41 kB / 337.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.236e-05/0.005102, allocations: 229.7 kB / 337.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/0.005109, allocations: 33.7 kB / 337.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.005154, allocations: 178.6 kB / 337.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.00517, allocations: 39.67 kB / 337.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.005203, allocations: 39.36 kB / 338 MB, free: 12.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.427e-05/0.005257, allocations: 0.4962 MB / 338.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.005271, allocations: 12 kB / 338.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.161e-05/0.005323, allocations: 81.77 kB / 338.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.932e-05/0.005392, allocations: 97.67 kB / 338.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.005393, allocations: 0 / 338.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001004/0.005494, allocations: 133.3 kB / 338.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.415e-06/0.005502, allocations: 4 kB / 338.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.005506, allocations: 4 kB / 338.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/0.005513, allocations: 3.938 kB / 338.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.717e-05/0.005591, allocations: 31.98 kB / 338.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.005593, allocations: 0 / 338.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.123e-05/0.005634, allocations: 15.89 kB / 338.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.005639, allocations: 8 kB / 338.8 MB, free: 11.24 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 (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 4.903e-05/0.005688, allocations: 168.7 kB / 339 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.005711, allocations: 27.84 kB / 339 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.005734, allocations: 17.47 kB / 339 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.005735, allocations: 0 / 339 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.005736, allocations: 0 / 339 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.005739, allocations: 4 kB / 339 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.005842, allocations: 137.1 kB / 339.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.005842, allocations: 0 / 339.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.851e-05/0.005911, allocations: 23.98 kB / 339.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.005912, allocations: 0 / 339.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.005919, allocations: 0 / 339.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.005922, allocations: 11.88 kB / 339.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.005923, allocations: 4 kB / 339.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.006049, allocations: 247.8 kB / 339.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.539e-05/0.006064, allocations: 11.91 kB / 339.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.006078, allocations: 0 / 339.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.601e-05/0.006124, allocations: 11.94 kB / 339.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.006136, allocations: 3.984 kB / 339.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.006139, allocations: 4 kB / 339.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.463e-05/0.006183, allocations: 160.2 kB / 339.6 MB, free: 10.37 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006183, allocations: 0 / 339.6 MB, free: 10.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001839/0.006367, allocations: 39.89 kB / 339.7 MB, free: 10.33 MB / 266.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 4.927e-05/0.006417, allocations: 107.2 kB / 339.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.073e-05/0.006497, allocations: 62.61 kB / 339.9 MB, free: 10.15 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.006501, allocations: 0 / 339.9 MB, free: 10.15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.114e-05/0.006522, allocations: 31.61 kB / 339.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.006736, allocations: 28.56 kB / 339.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007691/0.007505, allocations: 0.5178 MB / 340.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.95e-05/0.007555, allocations: 108.1 kB / 340.5 MB, free: 9.414 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.013e-05/0.007625, allocations: 98.12 kB / 340.6 MB, free: 9.316 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.007626, allocations: 4 kB / 340.6 MB, free: 9.312 MB / 266.7 MB Notification: Performance of Templates: time 0.001932/0.009558, allocations: 2.009 MB / 342.6 MB, free: 7.316 MB / 266.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 > ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.335795479826629]