Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.TablesFromFile.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.0006644/0.0006644, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009251/0.00159, 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.9471/0.9471, allocations: 177.2 MB / 188.4 MB, free: 4.383 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1936/1.141, allocations: 53.65 MB / 242 MB, free: 2.617 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.001318/0.001318, allocations: 154.9 kB / 242.9 MB, free: 1.742 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001747/0.003065, allocations: 486.8 kB / 243.4 MB, free: 1.281 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.02582/0.02582, allocations: 6.652 MB / 250.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00435/0.03017, allocations: 2.664 MB / 253.5 MB, free: 7.41 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.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") translateModel(HanserModelica.Electrical.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 254.8 MB, free: 6.109 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.734e-05, allocations: 4.703 kB / 254.8 MB, free: 6.105 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.002579/0.002596, allocations: 2.273 MB / 257 MB, free: 3.816 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.004425, allocations: 1.856 MB / 258.9 MB, free: 1.953 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.004531, allocations: 0 / 258.9 MB, free: 1.953 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.004765, allocations: 111.4 kB / 259 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000303/0.005068, allocations: 155.1 kB / 259.2 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.005287, allocations: 119.4 kB / 259.3 MB, free: 1.574 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.005527, allocations: 223.1 kB / 259.5 MB, free: 1.355 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.00564, allocations: 38.44 kB / 259.5 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.005894, allocations: 163.7 kB / 259.7 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.006065, allocations: 103.7 kB / 259.8 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.006091, allocations: 16 kB / 259.8 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.006277, allocations: 119.8 kB / 259.9 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.545e-05/0.006332, allocations: 35.88 kB / 260 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.006384, allocations: 47.88 kB / 260 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.006665, allocations: 231.1 kB / 260.2 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.46e-05/0.00668, allocations: 4 kB / 260.2 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006681, allocations: 0 / 260.2 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.00669, allocations: 0 / 260.2 MB, free: 0.6133 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.0005721/0.007263, allocations: 499.2 kB / 260.7 MB, free: 104 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.007295, allocations: 12.03 kB / 260.7 MB, free: 92 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.007342, allocations: 24.91 kB / 260.8 MB, free: 68 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.007529, allocations: 165.4 kB / 260.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.007546, allocations: 12.61 kB / 260.9 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.007568, allocations: 12.38 kB / 260.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.00775, allocations: 188.8 kB / 261.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.007758, allocations: 3.938 kB / 261.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.007771, allocations: 7.984 kB / 261.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.007778, allocations: 4 kB / 261.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.19e-05/0.00783, allocations: 34.8 kB / 261.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005589/0.008389, allocations: 363.9 kB / 261.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.008585, allocations: 128 kB / 261.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.008612, allocations: 24.84 kB / 261.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.008631, allocations: 0 / 261.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001176/0.008749, allocations: 109.6 kB / 261.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 7.51e-07/0.008749, allocations: 4 kB / 261.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001371/0.008886, allocations: 92.36 kB / 261.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.008911, allocations: 51.41 kB / 261.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.009053, allocations: 225.1 kB / 262.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.009066, allocations: 29.7 kB / 262.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.009119, allocations: 128.7 kB / 262.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.009142, allocations: 39.66 kB / 262.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.009176, allocations: 25.67 kB / 262.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.518e-05/0.009251, allocations: 338.8 kB / 262.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/0.009271, allocations: 10.83 kB / 262.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.147e-05/0.009323, allocations: 115.6 kB / 262.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.006e-05/0.009383, allocations: 72.86 kB / 262.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.009385, allocations: 0 / 262.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.899e-05/0.009484, allocations: 92.42 kB / 263 MB, free: 13.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.009495, allocations: 6.812 kB / 263 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.0095, allocations: 3.938 kB / 263 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.009508, allocations: 8.125 kB / 263 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.009621, allocations: 31.92 kB / 263 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.009625, allocations: 3.984 kB / 263 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.107e-05/0.009676, allocations: 8 kB / 263 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.009683, allocations: 8 kB / 263.1 MB, free: 13.53 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.694e-05/0.00975, allocations: 120.6 kB / 263.2 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.009768, allocations: 15.97 kB / 263.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.009885, allocations: 91 kB / 263.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.009888, allocations: 3.984 kB / 263.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.00989, allocations: 4 kB / 263.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.009893, allocations: 0 / 263.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.009995, allocations: 117.7 kB / 263.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.009997, allocations: 0 / 263.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.379e-05/0.01007, allocations: 19.98 kB / 263.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.01009, allocations: 15.91 kB / 263.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.01009, allocations: 0 / 263.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.0101, allocations: 7.938 kB / 263.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.0101, allocations: 3.984 kB / 263.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01011, allocations: 3.938 kB / 263.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.01024, allocations: 122.7 kB / 263.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.01025, allocations: 4.031 kB / 263.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.389e-05/0.0103, allocations: 19.88 kB / 263.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.01032, allocations: 7.984 kB / 263.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.01033, allocations: 4 kB / 263.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.846e-05/0.0104, allocations: 85.98 kB / 263.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0104, allocations: 0 / 263.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001814/0.01058, allocations: 71.75 kB / 263.8 MB, free: 12.77 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.001515/0.0121, allocations: 0.6989 MB / 264.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.01224, allocations: 51.86 kB / 264.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/0.01225, allocations: 4 kB / 264.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.278e-05/0.01231, allocations: 44.77 kB / 264.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.01253, allocations: 264.2 kB / 264.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.01414, allocations: 406.5 kB / 265.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.985e-05/0.01418, allocations: 83.81 kB / 265.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.209e-05/0.01423, allocations: 21.47 kB / 265.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.332e-05/0.01432, allocations: 79.36 kB / 265.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01433, allocations: 0 / 265.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of Templates: time 0.005135/0.01946, allocations: 3.229 MB / 268.6 MB, free: 8.152 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.TablesFromFile.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe >> ../files/HanserModelica_HanserModelica.Electrical.TablesFromFile.sim & (cd run_cvode && ../HanserModelica_HanserModelica.Electrical.TablesFromFile -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Electrical.TablesFromFile_dassl.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TablesFromFile_dassl.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TablesFromFile_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Electrical.TablesFromFile_dassl.sim & (cd run_dassl && ../HanserModelica_HanserModelica.Electrical.TablesFromFile -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > HanserModelica_HanserModelica.Electrical.TablesFromFile_dassl.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Electrical.TablesFromFile_gbode.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TablesFromFile_gbode.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TablesFromFile_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Electrical.TablesFromFile_gbode.sim & (cd run_gbode && ../HanserModelica_HanserModelica.Electrical.TablesFromFile -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > HanserModelica_HanserModelica.Electrical.TablesFromFile_gbode.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Electrical.TablesFromFile_ida.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TablesFromFile_ida.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TablesFromFile_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Electrical.TablesFromFile_ida.sim & (cd run_ida && ../HanserModelica_HanserModelica.Electrical.TablesFromFile -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > HanserModelica_HanserModelica.Electrical.TablesFromFile_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.625454481691122]