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.001428/0.001428, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001128/0.001128, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9147/0.9147, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.005134/0.005134, allocations: 1.197 MB / 261.4 MB, free: 11.74 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.332e-06/1.332e-06, allocations: 0 / 331.6 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.711e-05, allocations: 8.219 kB / 331.6 MB, free: 3.055 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.EddyCurrentBraking): time 0.002433/0.00245, allocations: 2.249 MB / 333.8 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.0035, allocations: 0.8179 MB / 334.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.00361, allocations: 11.94 kB / 334.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.003835, allocations: 51.56 kB / 334.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.994e-05/0.003925, allocations: 67.47 kB / 334.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.004106, allocations: 63.78 kB / 334.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.004292, allocations: 214.8 kB / 335 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.95e-05/0.004391, allocations: 25.75 kB / 335.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.004557, allocations: 123.6 kB / 335.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.666e-05/0.004654, allocations: 59.8 kB / 335.3 MB, free: 15.35 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.004673, allocations: 12 kB / 335.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.064e-05/0.004744, allocations: 27.98 kB / 335.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.004771, allocations: 35.84 kB / 335.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.004814, allocations: 59.84 kB / 335.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.00501, allocations: 139.5 kB / 335.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.005012, allocations: 4 kB / 335.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005013, allocations: 0 / 335.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.005017, allocations: 0 / 335.5 MB, free: 15.08 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.0004586/0.005475, allocations: 0.4957 MB / 336 MB, free: 14.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.005505, allocations: 8.031 kB / 336 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.005648, allocations: 48.78 kB / 336.1 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.00582, allocations: 177.9 kB / 336.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.005832, allocations: 8.375 kB / 336.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.005853, allocations: 16.38 kB / 336.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.005987, allocations: 133.1 kB / 336.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.005999, allocations: 4.188 kB / 336.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.006011, allocations: 7.938 kB / 336.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.006018, allocations: 4 kB / 336.4 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.187e-05/0.006079, allocations: 43.89 kB / 336.5 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005914/0.006671, allocations: 0.7273 MB / 337.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.006775, allocations: 75 kB / 337.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.122e-05/0.006796, allocations: 15.69 kB / 337.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.006808, allocations: 8 kB / 337.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.006826, allocations: 37.33 kB / 337.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.006827, allocations: 0 / 337.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.000146/0.006973, allocations: 85.75 kB / 337.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.007002, allocations: 55.34 kB / 337.5 MB, free: 12.97 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.00711, allocations: 225.8 kB / 337.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.007121, allocations: 33.7 kB / 337.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/0.007195, allocations: 194.3 kB / 337.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.007217, allocations: 35.69 kB / 337.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.007255, allocations: 39.36 kB / 338 MB, free: 12.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.007366, allocations: 0.4962 MB / 338.5 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.007387, allocations: 11.98 kB / 338.5 MB, free: 11.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-05/0.007437, allocations: 84.5 kB / 338.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.06e-05/0.007518, allocations: 109.7 kB / 338.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.00752, allocations: 0 / 338.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001237/0.007644, allocations: 125.3 kB / 338.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.007655, allocations: 4 kB / 338.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.007661, allocations: 4 kB / 338.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-06/0.007669, allocations: 0 / 338.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.898e-05/0.007758, allocations: 35.92 kB / 338.8 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.007761, allocations: 4.188 kB / 338.8 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.453e-05/0.007805, allocations: 15.89 kB / 338.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.007815, allocations: 7.984 kB / 338.9 MB, free: 11.45 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 7.267e-05/0.007887, allocations: 168.5 kB / 339 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.007913, allocations: 23.84 kB / 339.1 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.007944, allocations: 21.45 kB / 339.1 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.007945, allocations: 0 / 339.1 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.007947, allocations: 0 / 339.1 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.00795, allocations: 4 kB / 339.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.008076, allocations: 129.2 kB / 339.2 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.008077, allocations: 0 / 339.2 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.801e-05/0.008155, allocations: 27.98 kB / 339.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.008157, allocations: 0 / 339.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.008165, allocations: 0 / 339.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.008167, allocations: 7.938 kB / 339.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.008168, allocations: 0 / 339.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.008333, allocations: 247.8 kB / 339.5 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.008351, allocations: 15.89 kB / 339.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.008364, allocations: 0 / 339.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.732e-05/0.008411, allocations: 19.88 kB / 339.5 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.059e-05/0.008422, allocations: 0 / 339.5 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.008429, allocations: 11.98 kB / 339.5 MB, free: 10.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.718e-05/0.008486, allocations: 156.2 kB / 339.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008487, allocations: 0 / 339.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001856/0.008672, allocations: 43.89 kB / 339.7 MB, free: 10.54 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 6.419e-05/0.008736, allocations: 99.19 kB / 339.8 MB, free: 10.44 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.412e-05/0.00883, allocations: 59.53 kB / 339.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.008832, allocations: 0 / 339.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.507e-05/0.008857, allocations: 32.03 kB / 339.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.009087, allocations: 24.64 kB / 339.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008357/0.009923, allocations: 0.4908 MB / 340.4 MB, free: 9.797 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.998e-05/0.009963, allocations: 71.83 kB / 340.5 MB, free: 9.707 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.003e-05/0.01001, allocations: 13.48 kB / 340.5 MB, free: 9.691 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.582e-05/0.01009, allocations: 94.19 kB / 340.6 MB, free: 9.598 MB / 314.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01009, allocations: 0 / 340.6 MB, free: 9.598 MB / 314.7 MB Notification: Performance of Templates: time 0.003166/0.01326, allocations: 1.49 MB / 342.1 MB, free: 8.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 & (cd run_cvode && ../ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe 2>&1) [Timeout 240] (rm -f ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking_gbode.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking_gbode.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking_gbode.sim & (cd run_gbode && ../ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking_gbode.pipe 2>&1) [Timeout 240] (rm -f ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking_ida.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking_ida.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking_ida.sim & (cd run_ida && ../ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6906587230041623]