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.00101/0.00101, allocations: 88.42 kB / 19.94 MB, free: 4.605 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.001654/0.001654, allocations: 177.9 kB / 23.21 MB, free: 1.328 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.9556/0.9556, allocations: 177.1 MB / 203.5 MB, free: 5.695 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.00725/0.00725, allocations: 1.187 MB / 261.1 MB, free: 12.11 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.994e-06/1.994e-06, allocations: 0 / 383.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.241e-05, allocations: 5.375 kB / 383.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.EddyCurrentBraking): time 0.003473/0.003505, allocations: 2.152 MB / 385.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.004697, allocations: 0.7751 MB / 386.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.00482, allocations: 4 kB / 386.4 MB, free: 11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.005118, allocations: 59.5 kB / 386.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.005228, allocations: 67.47 kB / 386.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.005459, allocations: 67.72 kB / 386.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.005694, allocations: 202.9 kB / 386.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.005826, allocations: 33.78 kB / 386.9 MB, free: 10.58 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.00604, allocations: 119.6 kB / 387 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.006152, allocations: 55.81 kB / 387 MB, free: 10.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.006177, allocations: 12 kB / 387 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.822e-05/0.006256, allocations: 35.98 kB / 387.1 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.985e-05/0.006285, allocations: 31.84 kB / 387.1 MB, free: 10.33 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.201e-05/0.006347, allocations: 55.84 kB / 387.2 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.006624, allocations: 191.3 kB / 387.4 MB, free: 10.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.006627, allocations: 0 / 387.4 MB, free: 10.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.006629, allocations: 0 / 387.4 MB, free: 10.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.006633, allocations: 0 / 387.4 MB, free: 10.09 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.0005778/0.007211, allocations: 409.3 kB / 387.8 MB, free: 9.656 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.007249, allocations: 12.03 kB / 387.8 MB, free: 9.645 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.007412, allocations: 32.83 kB / 387.8 MB, free: 9.613 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.007659, allocations: 182 kB / 388 MB, free: 9.406 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.007675, allocations: 8.375 kB / 388 MB, free: 9.398 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.007707, allocations: 12.38 kB / 388 MB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.00795, allocations: 144.8 kB / 388.1 MB, free: 9.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.007964, allocations: 4.188 kB / 388.1 MB, free: 9.227 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.007981, allocations: 7.938 kB / 388.1 MB, free: 9.219 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.007988, allocations: 8 kB / 388.2 MB, free: 9.211 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.008141, allocations: 79.89 kB / 388.2 MB, free: 9.133 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007991/0.00894, allocations: 0.6088 MB / 388.8 MB, free: 8.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.009115, allocations: 82.66 kB / 388.9 MB, free: 8.391 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.009169, allocations: 28.8 kB / 389 MB, free: 8.359 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.009181, allocations: 0 / 389 MB, free: 8.359 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.009207, allocations: 42.69 kB / 389 MB, free: 8.309 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.009208, allocations: 0 / 389 MB, free: 8.309 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002486/0.009457, allocations: 117.5 kB / 389.1 MB, free: 8.188 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.009489, allocations: 51.41 kB / 389.2 MB, free: 8.125 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.009644, allocations: 179 kB / 389.3 MB, free: 7.941 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.009658, allocations: 25.7 kB / 389.4 MB, free: 7.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.032e-05/0.009738, allocations: 147.5 kB / 389.5 MB, free: 7.762 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.009767, allocations: 35.7 kB / 389.5 MB, free: 7.727 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.009823, allocations: 29.7 kB / 389.6 MB, free: 7.691 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.936e-05/0.009922, allocations: 322.8 kB / 389.9 MB, free: 7.367 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.627e-05/0.009978, allocations: 35.98 kB / 389.9 MB, free: 7.332 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.913e-05/0.01006, allocations: 76.41 kB / 390 MB, free: 7.238 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.0102, allocations: 117.8 kB / 390.1 MB, free: 7.102 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.0102, allocations: 4 kB / 390.1 MB, free: 7.098 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002133/0.01042, allocations: 149.4 kB / 390.3 MB, free: 6.945 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.01043, allocations: 8 kB / 390.3 MB, free: 6.938 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.01044, allocations: 4 kB / 390.3 MB, free: 6.934 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.01045, allocations: 4.375 kB / 390.3 MB, free: 6.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.01059, allocations: 31.92 kB / 390.3 MB, free: 6.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.01059, allocations: 0 / 390.3 MB, free: 6.898 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.538e-05/0.01066, allocations: 11.89 kB / 390.3 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.01067, allocations: 15.94 kB / 390.3 MB, free: 6.871 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.588e-05/0.01076, allocations: 125.8 kB / 390.5 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.0108, allocations: 12.02 kB / 390.5 MB, free: 6.727 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.79e-05/0.01083, allocations: 25.45 kB / 390.5 MB, free: 6.707 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01084, allocations: 0 / 390.5 MB, free: 6.707 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.01084, allocations: 0 / 390.5 MB, free: 6.707 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01085, allocations: 4 kB / 390.5 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.01103, allocations: 157.2 kB / 390.6 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01103, allocations: 0 / 390.6 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.01114, allocations: 23.98 kB / 390.7 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.01115, allocations: 3.938 kB / 390.7 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.01116, allocations: 4 kB / 390.7 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.01116, allocations: 0 / 390.7 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01116, allocations: 4 kB / 390.7 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.01141, allocations: 223.4 kB / 390.9 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.01143, allocations: 15.84 kB / 390.9 MB, free: 6.234 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.01145, allocations: 4.031 kB / 390.9 MB, free: 6.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.01153, allocations: 0 / 390.9 MB, free: 6.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.01154, allocations: 11.94 kB / 390.9 MB, free: 6.219 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.01155, allocations: 0 / 390.9 MB, free: 6.219 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.174e-05/0.01164, allocations: 131.2 kB / 391.1 MB, free: 6.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01164, allocations: 0 / 391.1 MB, free: 6.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003046/0.01195, allocations: 35.94 kB / 391.1 MB, free: 6.055 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 8.445e-05/0.01203, allocations: 101.1 kB / 391.2 MB, free: 5.949 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.01218, allocations: 71.84 kB / 391.3 MB, free: 5.879 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01219, allocations: 3.938 kB / 391.3 MB, free: 5.875 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.324e-05/0.01223, allocations: 32.03 kB / 391.3 MB, free: 5.844 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.01259, allocations: 27.08 kB / 391.3 MB, free: 5.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008467/0.01343, allocations: 0.4997 MB / 391.8 MB, free: 5.289 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.291e-05/0.01353, allocations: 112.1 kB / 391.9 MB, free: 5.152 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.01357, allocations: 16.5 kB / 392 MB, free: 5.137 MB / 314.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01357, allocations: 0 / 392 MB, free: 5.137 MB / 314.7 MB Notification: Performance of Templates: time 0.003302/0.01687, allocations: 2.004 MB / 394 MB, free: 3.145 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 > ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.485436774790287]