Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.TestBrush.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.0007562/0.0007562, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00119/0.001946, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.9512/0.9512, allocations: 177.2 MB / 188.4 MB, free: 4.395 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1854/1.137, allocations: 53.66 MB / 242 MB, free: 2.598 MB / 234.7 MB " [Timeout remaining time 179] 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.0007855/0.0007855, allocations: 152.2 kB / 242.9 MB, free: 1.723 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.001832, allocations: 487.3 kB / 243.4 MB, free: 1.266 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.03266/0.03266, allocations: 6.652 MB / 250.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005229/0.03789, allocations: 2.672 MB / 253.5 MB, free: 7.391 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Electrical.TestBrush,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TestBrush") translateModel(HanserModelica.Electrical.TestBrush,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TestBrush") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 254.8 MB, free: 6.109 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.109e-05, allocations: 6.312 kB / 254.8 MB, free: 6.102 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.002549/0.00257, allocations: 1.878 MB / 256.6 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006448/0.003215, allocations: 0.5265 MB / 257.2 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.003254, allocations: 0 / 257.2 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.9e-05/0.003293, allocations: 11.92 kB / 257.2 MB, free: 3.668 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.786e-05/0.003351, allocations: 19.8 kB / 257.2 MB, free: 3.648 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001044/0.003456, allocations: 27.91 kB / 257.2 MB, free: 3.621 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.00356, allocations: 91.58 kB / 257.3 MB, free: 3.531 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.56e-05/0.003656, allocations: 23.92 kB / 257.3 MB, free: 3.508 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.003764, allocations: 63.89 kB / 257.4 MB, free: 3.445 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.831e-05/0.003823, allocations: 23.91 kB / 257.4 MB, free: 3.422 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.003839, allocations: 8 kB / 257.4 MB, free: 3.414 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.999e-05/0.003909, allocations: 27.92 kB / 257.5 MB, free: 3.387 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.003929, allocations: 15.94 kB / 257.5 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.003958, allocations: 23.94 kB / 257.5 MB, free: 3.348 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.004088, allocations: 63.81 kB / 257.6 MB, free: 3.285 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.004098, allocations: 3.938 kB / 257.6 MB, free: 3.281 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.004099, allocations: 0 / 257.6 MB, free: 3.281 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.004105, allocations: 0 / 257.6 MB, free: 3.281 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003492/0.004455, allocations: 300.3 kB / 257.9 MB, free: 2.965 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.004485, allocations: 8.031 kB / 257.9 MB, free: 2.957 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.004514, allocations: 12.92 kB / 257.9 MB, free: 2.945 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.415e-05/0.004589, allocations: 113.8 kB / 258 MB, free: 2.809 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.004598, allocations: 8.375 kB / 258 MB, free: 2.801 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.004608, allocations: 4.375 kB / 258 MB, free: 2.797 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.004728, allocations: 86.8 kB / 258.1 MB, free: 2.703 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.04e-06/0.004733, allocations: 192 / 258.1 MB, free: 2.703 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.004742, allocations: 4.359 kB / 258.1 MB, free: 2.699 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.004746, allocations: 3.938 kB / 258.1 MB, free: 2.695 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.336e-05/0.004779, allocations: 15.98 kB / 258.1 MB, free: 2.68 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.005113, allocations: 259.2 kB / 258.4 MB, free: 2.406 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.193e-05/0.005154, allocations: 22.58 kB / 258.4 MB, free: 2.375 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.364e-05/0.005168, allocations: 4.859 kB / 258.4 MB, free: 2.367 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.005185, allocations: 4.062 kB / 258.4 MB, free: 2.363 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.005205, allocations: 34.5 kB / 258.4 MB, free: 2.32 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.005206, allocations: 0 / 258.4 MB, free: 2.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001034/0.00531, allocations: 37.69 kB / 258.5 MB, free: 2.277 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.005336, allocations: 51.41 kB / 258.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.626e-05/0.005412, allocations: 134.6 kB / 258.6 MB, free: 2.07 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.005423, allocations: 25.7 kB / 258.7 MB, free: 2.039 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.543e-05/0.005468, allocations: 100.1 kB / 258.8 MB, free: 1.938 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.117e-06/0.005477, allocations: 20.06 kB / 258.8 MB, free: 1.918 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.005509, allocations: 17.72 kB / 258.8 MB, free: 1.895 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.745e-05/0.005586, allocations: 314.8 kB / 259.1 MB, free: 1.578 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.261e-05/0.005599, allocations: 7.984 kB / 259.1 MB, free: 1.57 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.402e-05/0.005623, allocations: 26.5 kB / 259.1 MB, free: 1.535 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.693e-05/0.00566, allocations: 26.56 kB / 259.2 MB, free: 1.5 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.005662, allocations: 3.938 kB / 259.2 MB, free: 1.496 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.055e-05/0.005732, allocations: 57.66 kB / 259.2 MB, free: 1.434 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.005744, allocations: 6.656 kB / 259.2 MB, free: 1.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.005748, allocations: 0 / 259.2 MB, free: 1.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.72e-06/0.005754, allocations: 0 / 259.2 MB, free: 1.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.016e-05/0.005824, allocations: 23.92 kB / 259.3 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.005826, allocations: 0 / 259.3 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.005855, allocations: 7.953 kB / 259.3 MB, free: 1.398 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.00586, allocations: 0 / 259.3 MB, free: 1.398 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.375e-05/0.005914, allocations: 113.8 kB / 259.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.005933, allocations: 0 / 259.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.005962, allocations: 19.67 kB / 259.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.005963, allocations: 0 / 259.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.005964, allocations: 0 / 259.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.005966, allocations: 0 / 259.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.006076, allocations: 77.81 kB / 259.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006077, allocations: 4 kB / 259.5 MB, free: 1.164 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.006101, allocations: 4 kB / 259.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-06/0.006109, allocations: 3.984 kB / 259.5 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.006111, allocations: 4 kB / 259.5 MB, free: 1.152 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-06/0.006114, allocations: 0 / 259.5 MB, free: 1.152 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-07/0.006115, allocations: 0 / 259.5 MB, free: 1.152 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.006115, allocations: 4 kB / 259.5 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.814e-05/0.006204, allocations: 135.4 kB / 259.6 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.006214, allocations: 8 kB / 259.6 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.624e-05/0.00626, allocations: 0 / 259.6 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.006283, allocations: 4 kB / 259.6 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.006288, allocations: 3.984 kB / 259.6 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.972e-05/0.006308, allocations: 16.84 kB / 259.7 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006308, allocations: 0 / 259.7 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001895/0.006498, allocations: 19.89 kB / 259.7 MB, free: 0.9453 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (2): * Single equations (assignments): 2 * 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 0.0001068/0.006604, allocations: 88.38 kB / 259.8 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.928e-05/0.006704, allocations: 23.88 kB / 259.8 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.006708, allocations: 0 / 259.8 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.687e-05/0.006775, allocations: 16.84 kB / 259.8 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.006973, allocations: 67.34 kB / 259.9 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005318/0.007505, allocations: 179.5 kB / 260 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.525e-05/0.00754, allocations: 59.36 kB / 260.1 MB, free: 460 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.452e-05/0.007564, allocations: 3.984 kB / 260.1 MB, free: 456 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.007612, allocations: 55.38 kB / 260.2 MB, free: 400 kB / 250.7 MB Notification: Performance of SimCode: time 4.61e-07/0.007613, allocations: 0 / 260.2 MB, free: 400 kB / 250.7 MB Notification: Performance of Templates: time 0.002497/0.01011, allocations: 0.7608 MB / 260.9 MB, free: 15.64 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.TestBrush.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.TestBrush.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TestBrush.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TestBrush.pipe >> ../files/HanserModelica_HanserModelica.Electrical.TestBrush.sim & (cd run_cvode && ../HanserModelica_HanserModelica.Electrical.TestBrush -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > HanserModelica_HanserModelica.Electrical.TestBrush.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Electrical.TestBrush_dassl.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TestBrush_dassl.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TestBrush_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Electrical.TestBrush_dassl.sim & (cd run_dassl && ../HanserModelica_HanserModelica.Electrical.TestBrush -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > HanserModelica_HanserModelica.Electrical.TestBrush_dassl.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Electrical.TestBrush_gbode.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TestBrush_gbode.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TestBrush_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Electrical.TestBrush_gbode.sim & (cd run_gbode && ../HanserModelica_HanserModelica.Electrical.TestBrush -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > HanserModelica_HanserModelica.Electrical.TestBrush_gbode.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Electrical.TestBrush_ida.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TestBrush_ida.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TestBrush_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Electrical.TestBrush_ida.sim & (cd run_ida && ../HanserModelica_HanserModelica.Electrical.TestBrush -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > HanserModelica_HanserModelica.Electrical.TestBrush_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.508443245664239]