Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.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.000929/0.000929, 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.001041/0.001041, 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.9149/0.9149, 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.0185/0.0185, allocations: 1.199 MB / 261.5 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.Translational.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking") translateModel(ElectricBraking.Examples.Translational.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 331.6 MB, free: 3.055 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/1.984e-05, allocations: 2.312 kB / 331.6 MB, free: 3.051 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.EddyCurrentBraking): time 0.002557/0.002577, allocations: 2.28 MB / 333.9 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008673/0.003444, allocations: 0.8257 MB / 334.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.974e-05/0.003534, allocations: 3.938 kB / 334.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.003762, allocations: 63.55 kB / 334.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.981e-05/0.003841, allocations: 63.48 kB / 334.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.003999, allocations: 63.78 kB / 334.9 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.004164, allocations: 214.8 kB / 335.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.586e-05/0.00426, allocations: 41.72 kB / 335.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.004405, allocations: 123.6 kB / 335.3 MB, free: 15.35 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.154e-05/0.004497, allocations: 63.8 kB / 335.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.004515, allocations: 12 kB / 335.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.736e-05/0.004572, allocations: 27.98 kB / 335.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.14e-05/0.004594, allocations: 31.84 kB / 335.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.004634, allocations: 63.78 kB / 335.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.004807, allocations: 139.5 kB / 335.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004809, allocations: 4 kB / 335.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.00481, allocations: 4 kB / 335.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.004813, allocations: 0 / 335.6 MB, free: 15.01 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.0004423/0.005256, allocations: 0.5112 MB / 336.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.655e-05/0.005282, allocations: 8.031 kB / 336.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.005419, allocations: 52.78 kB / 336.2 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.005572, allocations: 176.3 kB / 336.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.005584, allocations: 16.31 kB / 336.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.005606, allocations: 12.38 kB / 336.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.00573, allocations: 125.2 kB / 336.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.005739, allocations: 192 / 336.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.005751, allocations: 11.94 kB / 336.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.005757, allocations: 4 kB / 336.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.368e-05/0.00582, allocations: 51.89 kB / 336.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.00633, allocations: 0.7078 MB / 337.3 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.897e-05/0.006429, allocations: 79 kB / 337.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.415e-05/0.006454, allocations: 23.75 kB / 337.4 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.006463, allocations: 0 / 337.4 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.006478, allocations: 41.59 kB / 337.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 7.41e-07/0.006479, allocations: 3.938 kB / 337.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005893/0.007069, allocations: 364.4 kB / 337.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.007089, allocations: 51.41 kB / 337.8 MB, free: 12.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.007197, allocations: 243.3 kB / 338 MB, free: 12.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.007206, allocations: 25.7 kB / 338.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.514e-05/0.007271, allocations: 195 kB / 338.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.007296, allocations: 43.64 kB / 338.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.007338, allocations: 51.3 kB / 338.4 MB, free: 12.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.007438, allocations: 0.5001 MB / 338.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/0.007459, allocations: 15.98 kB / 338.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.76e-05/0.007506, allocations: 84.95 kB / 339 MB, free: 11.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.542e-05/0.007592, allocations: 125.4 kB / 339.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.007595, allocations: 8 kB / 339.1 MB, free: 11.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001293/0.007724, allocations: 129.4 kB / 339.2 MB, free: 11.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.007735, allocations: 4 kB / 339.2 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.00774, allocations: 4 kB / 339.2 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.184e-06/0.007747, allocations: 0 / 339.2 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.568e-05/0.007843, allocations: 43.92 kB / 339.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-06/0.007845, allocations: 0 / 339.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.078e-05/0.007886, allocations: 4 kB / 339.3 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.007893, allocations: 12.16 kB / 339.3 MB, free: 11.02 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 (21): * Single equations (assignments): 21 * 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.048e-05/0.007964, allocations: 168.5 kB / 339.4 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.00799, allocations: 19.91 kB / 339.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/0.008021, allocations: 21.45 kB / 339.5 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.008023, allocations: 4 kB / 339.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.008024, allocations: 0 / 339.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.008027, allocations: 0 / 339.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.008334, allocations: 401.1 kB / 339.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.008336, allocations: 4.062 kB / 339.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.176e-05/0.008427, allocations: 35.92 kB / 339.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.008431, allocations: 4 kB / 339.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.008437, allocations: 0 / 339.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.008439, allocations: 4 kB / 339.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.008441, allocations: 3.984 kB / 339.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.008623, allocations: 297.8 kB / 340.2 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.008639, allocations: 15.91 kB / 340.2 MB, free: 9.988 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.008654, allocations: 4 kB / 340.2 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.106e-05/0.008705, allocations: 4 kB / 340.2 MB, free: 9.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.008721, allocations: 15.98 kB / 340.3 MB, free: 9.965 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.008727, allocations: 4 kB / 340.3 MB, free: 9.961 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.647e-05/0.008783, allocations: 165.1 kB / 340.4 MB, free: 9.801 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008783, allocations: 0 / 340.4 MB, free: 9.801 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001695/0.008953, allocations: 39.94 kB / 340.5 MB, free: 9.762 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (massLoad.s,massLoad.v,integrator.y,heatCapacitor.T) * 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 (13): * Single equations (assignments): 13 * 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.3e-05/0.009016, allocations: 99.23 kB / 340.6 MB, free: 9.656 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.54e-05/0.009111, allocations: 71.52 kB / 340.6 MB, free: 9.582 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.009112, allocations: 320 / 340.6 MB, free: 9.582 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.083e-05/0.009143, allocations: 47.55 kB / 340.7 MB, free: 9.531 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.00937, allocations: 29.08 kB / 340.7 MB, free: 9.504 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007234/0.01009, allocations: 0.5011 MB / 341.2 MB, free: 8.965 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.132e-05/0.01014, allocations: 75.94 kB / 341.3 MB, free: 8.871 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.872e-05/0.01018, allocations: 21.47 kB / 341.3 MB, free: 8.848 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.007e-05/0.01026, allocations: 98.19 kB / 341.4 MB, free: 8.75 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01026, allocations: 0 / 341.4 MB, free: 8.75 MB / 314.7 MB Notification: Performance of Templates: time 0.003185/0.01345, allocations: 1.739 MB / 343.1 MB, free: 7.051 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.sim & (cd run_cvode && ../ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe 2>&1) [Timeout 240] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking_gbode.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking_gbode.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking_gbode.sim & (cd run_gbode && ../ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking_gbode.pipe 2>&1) [Timeout 240] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking_ida.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking_ida.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking_ida.sim & (cd run_ida && ../ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.735621564090252]