Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Tables.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.000947/0.000947, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001378/0.002325, 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.9605/0.9605, allocations: 177.2 MB / 188.4 MB, free: 4.383 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1556/1.116, 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.001041/0.001041, allocations: 161.3 kB / 242.9 MB, free: 1.719 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001313/0.002354, allocations: 474 kB / 243.4 MB, free: 1.27 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.02422/0.02422, allocations: 6.653 MB / 250.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004059/0.02828, allocations: 2.664 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.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") translateModel(HanserModelica.Electrical.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 254.7 MB, free: 6.109 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044e-05/1.18e-05, allocations: 2.312 kB / 254.7 MB, free: 6.105 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.002257/0.002269, allocations: 2.272 MB / 257 MB, free: 3.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.003486, allocations: 1.099 MB / 258.1 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.00359, allocations: 4 kB / 258.1 MB, free: 2.711 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.003827, allocations: 115.3 kB / 258.2 MB, free: 2.598 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.004091, allocations: 151.1 kB / 258.4 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.004287, allocations: 107.5 kB / 258.5 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.004521, allocations: 231.1 kB / 258.7 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.79e-05/0.004619, allocations: 38.44 kB / 258.7 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.004779, allocations: 168.5 kB / 258.9 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.004897, allocations: 79.78 kB / 259 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.004918, allocations: 16 kB / 259 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.195e-05/0.005, allocations: 51.92 kB / 259 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.29e-05/0.005053, allocations: 43.8 kB / 259.1 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/0.005101, allocations: 47.88 kB / 259.1 MB, free: 1.684 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.005302, allocations: 167.4 kB / 259.3 MB, free: 1.52 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.467e-05/0.005317, allocations: 0 / 259.3 MB, free: 1.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005318, allocations: 0 / 259.3 MB, free: 1.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.005327, allocations: 0 / 259.3 MB, free: 1.52 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005499/0.005877, allocations: 459.5 kB / 259.8 MB, free: 1.047 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.005907, allocations: 11.97 kB / 259.8 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.005951, allocations: 32.84 kB / 259.8 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.006122, allocations: 165.2 kB / 260 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.006139, allocations: 8.609 kB / 260 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.006159, allocations: 12.38 kB / 260 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.006323, allocations: 141.2 kB / 260.1 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.006333, allocations: 3.938 kB / 260.1 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.006345, allocations: 11.98 kB / 260.1 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.006352, allocations: 4 kB / 260.1 MB, free: 0.625 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.642e-05/0.006399, allocations: 28.2 kB / 260.2 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.0068, allocations: 363.8 kB / 260.5 MB, free: 216 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.006979, allocations: 124 kB / 260.6 MB, free: 80 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.424e-05/0.007003, allocations: 12.86 kB / 260.7 MB, free: 64 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.007018, allocations: 8 kB / 260.7 MB, free: 56 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000131/0.007149, allocations: 117.5 kB / 260.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.001e-06/0.00715, allocations: 4 kB / 260.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001323/0.007283, allocations: 76.44 kB / 260.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.007311, allocations: 67.33 kB / 260.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.007445, allocations: 221 kB / 261.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.007459, allocations: 25.7 kB / 261.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.007512, allocations: 128.2 kB / 261.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.007531, allocations: 27.75 kB / 261.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.007567, allocations: 33.69 kB / 261.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.429e-05/0.007641, allocations: 334.8 kB / 261.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/0.00766, allocations: 14.81 kB / 261.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.356e-05/0.007704, allocations: 81.91 kB / 261.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.00803, allocations: 68.92 kB / 261.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.008032, allocations: 3.938 kB / 261.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 8.766e-05/0.008119, allocations: 88.42 kB / 261.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.008132, allocations: 14.78 kB / 261.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.008136, allocations: 3.938 kB / 261.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.008146, allocations: 4 kB / 261.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.481e-05/0.008241, allocations: 31.92 kB / 262 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.008243, allocations: 0 / 262 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.008292, allocations: 19.94 kB / 262 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.008297, allocations: 0 / 262 MB, free: 14.58 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.table.nextTimeEvent,$whenCondition1,table.nextTimeEventScaled,$PRE.table.nextTimeEventScaled,table.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 6.63e-05/0.008363, allocations: 120.6 kB / 262.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.008379, allocations: 15.98 kB / 262.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.008485, allocations: 98.98 kB / 262.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.008487, allocations: 0 / 262.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.008488, allocations: 0 / 262.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.008492, allocations: 4 kB / 262.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.21e-05/0.008584, allocations: 109.8 kB / 262.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.008585, allocations: 0 / 262.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.615e-05/0.008651, allocations: 23.98 kB / 262.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.635e-05/0.008667, allocations: 19.86 kB / 262.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.008669, allocations: 0 / 262.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.008676, allocations: 7.875 kB / 262.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.008678, allocations: 7.984 kB / 262.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.008679, allocations: 4 kB / 262.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.008796, allocations: 114.7 kB / 262.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.008813, allocations: 3.984 kB / 262.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.542e-05/0.008848, allocations: 15.94 kB / 262.5 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.008869, allocations: 7.922 kB / 262.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.008878, allocations: 4 kB / 262.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.525e-05/0.008933, allocations: 74 kB / 262.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008933, allocations: 0 / 262.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001362/0.00907, allocations: 47.89 kB / 262.7 MB, free: 13.86 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * Number of discrete variables: 3 ($whenCondition1,table.nextTimeEvent,table.nextTimeEventScaled) * Number of discrete states: 2 (table.nextTimeEvent,table.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001119/0.01019, allocations: 0.5555 MB / 263.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.01034, allocations: 47.92 kB / 263.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/0.01035, allocations: 7.984 kB / 263.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.409e-05/0.01042, allocations: 45.09 kB / 263.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.01065, allocations: 280.1 kB / 263.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.01196, allocations: 390.7 kB / 264 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.857e-05/0.012, allocations: 79.69 kB / 264 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.381e-05/0.01205, allocations: 13.48 kB / 264.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.573e-05/0.01212, allocations: 79.36 kB / 264.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01212, allocations: 4 kB / 264.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of Templates: time 0.003995/0.01612, allocations: 2.419 MB / 266.6 MB, free: 10.16 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.Tables.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.Tables.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Tables.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Tables.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Tables.sim & (cd run_cvode && ../HanserModelica_HanserModelica.Electrical.Tables -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Electrical.Tables_dassl.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Tables_dassl.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Tables_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Electrical.Tables_dassl.sim & (cd run_dassl && ../HanserModelica_HanserModelica.Electrical.Tables -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > HanserModelica_HanserModelica.Electrical.Tables_dassl.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Electrical.Tables_gbode.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Tables_gbode.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Tables_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Electrical.Tables_gbode.sim & (cd run_gbode && ../HanserModelica_HanserModelica.Electrical.Tables -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > HanserModelica_HanserModelica.Electrical.Tables_gbode.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Electrical.Tables_ida.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Tables_ida.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Tables_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Electrical.Tables_ida.sim & (cd run_ida && ../HanserModelica_HanserModelica.Electrical.Tables -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > HanserModelica_HanserModelica.Electrical.Tables_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.662326330319047]