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.001626/0.001626, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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 1.567/1.567, allocations: 177.1 MB / 199.7 MB, free: 4.793 MB / 186.7 MB " [Timeout remaining time 178] 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.001798/0.001798, allocations: 163.5 kB / 256.3 MB, free: 192 kB / 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.06174/0.06174, allocations: 6.668 MB / 319.4 MB, free: 1.207 MB / 298.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.823e-06/1.823e-06, allocations: 0 / 390.9 MB, free: 58.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.895e-05/4.078e-05, allocations: 5.828 kB / 390.9 MB, free: 58.62 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.003484/0.003524, allocations: 2.127 MB / 393 MB, free: 56.49 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002595/0.006119, allocations: 1.756 MB / 394.8 MB, free: 54.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.006358, allocations: 7.938 kB / 394.8 MB, free: 54.72 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.006811, allocations: 103 kB / 394.9 MB, free: 54.62 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006047/0.007416, allocations: 163.1 kB / 395.1 MB, free: 54.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.00777, allocations: 99.62 kB / 395.2 MB, free: 54.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.008113, allocations: 239 kB / 395.4 MB, free: 54.13 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.008283, allocations: 33.78 kB / 395.4 MB, free: 54.1 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.00849, allocations: 135.6 kB / 395.6 MB, free: 53.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005067/0.008997, allocations: 99.75 kB / 395.7 MB, free: 53.87 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.476e-05/0.009042, allocations: 16 kB / 395.7 MB, free: 53.85 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002741/0.009316, allocations: 119.8 kB / 395.8 MB, free: 53.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.061e-05/0.009397, allocations: 47.78 kB / 395.8 MB, free: 53.69 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.11e-05/0.009488, allocations: 55.84 kB / 395.9 MB, free: 53.63 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005338/0.01002, allocations: 306.9 kB / 396.2 MB, free: 53.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.01003, allocations: 4 kB / 396.2 MB, free: 53.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.01003, allocations: 0 / 396.2 MB, free: 53.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.01004, allocations: 0 / 396.2 MB, free: 53.33 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008518/0.01089, allocations: 469 kB / 396.7 MB, free: 52.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.01094, allocations: 15.98 kB / 396.7 MB, free: 52.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.01105, allocations: 36.75 kB / 396.7 MB, free: 52.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.01136, allocations: 189.3 kB / 396.9 MB, free: 52.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.01138, allocations: 8.609 kB / 396.9 MB, free: 52.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.01142, allocations: 12.38 kB / 396.9 MB, free: 52.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.01174, allocations: 200.9 kB / 397.1 MB, free: 52.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.01176, allocations: 3.938 kB / 397.1 MB, free: 52.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.01178, allocations: 7.984 kB / 397.1 MB, free: 52.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.01179, allocations: 4 kB / 397.1 MB, free: 52.33 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.01194, allocations: 76.61 kB / 397.2 MB, free: 52.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007775/0.01272, allocations: 474.4 kB / 397.7 MB, free: 51.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.01312, allocations: 102.7 kB / 397.8 MB, free: 51.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.904e-05/0.01319, allocations: 36.84 kB / 397.8 MB, free: 51.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.01322, allocations: 4 kB / 397.8 MB, free: 51.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.01341, allocations: 126.7 kB / 397.9 MB, free: 51.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.01342, allocations: 0 / 397.9 MB, free: 51.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003915/0.01381, allocations: 157.5 kB / 398.1 MB, free: 51.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.01385, allocations: 106.8 kB / 398.2 MB, free: 51.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.01412, allocations: 276.1 kB / 398.5 MB, free: 50.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.01413, allocations: 25.7 kB / 398.5 MB, free: 50.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.121e-05/0.01421, allocations: 148.2 kB / 398.6 MB, free: 50.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.01424, allocations: 27.75 kB / 398.7 MB, free: 50.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/0.0143, allocations: 33.7 kB / 398.7 MB, free: 50.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.01437, allocations: 326.8 kB / 399 MB, free: 50.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.26e-05/0.01444, allocations: 31.98 kB / 399 MB, free: 50.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.673e-05/0.01454, allocations: 128.5 kB / 399.2 MB, free: 50.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.01468, allocations: 95.3 kB / 399.3 MB, free: 50 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.01468, allocations: 0 / 399.3 MB, free: 50 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002515/0.01493, allocations: 149.5 kB / 399.4 MB, free: 49.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.01495, allocations: 4 kB / 399.4 MB, free: 49.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.01496, allocations: 8.109 kB / 399.4 MB, free: 49.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.01499, allocations: 7.938 kB / 399.4 MB, free: 49.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.0151, allocations: 20 kB / 399.4 MB, free: 49.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.0151, allocations: 0 / 399.4 MB, free: 49.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.01521, allocations: 15.94 kB / 399.5 MB, free: 49.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.01522, allocations: 8 kB / 399.5 MB, free: 49.79 MB / 314.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 0.0001017/0.01532, allocations: 140 kB / 399.6 MB, free: 49.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.01537, allocations: 31.8 kB / 399.6 MB, free: 49.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.01562, allocations: 143.1 kB / 399.8 MB, free: 49.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01562, allocations: 4 kB / 399.8 MB, free: 49.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01563, allocations: 0 / 399.8 MB, free: 49.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.01563, allocations: 0 / 399.8 MB, free: 49.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.0158, allocations: 173.2 kB / 399.9 MB, free: 49.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.0158, allocations: 3.984 kB / 399.9 MB, free: 49.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.0159, allocations: 19.98 kB / 400 MB, free: 49.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.0159, allocations: 0 / 400 MB, free: 49.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.01592, allocations: 11.88 kB / 400 MB, free: 49.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.01592, allocations: 0 / 400 MB, free: 49.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.01592, allocations: 4 kB / 400 MB, free: 49.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.01626, allocations: 200.9 kB / 400.2 MB, free: 49.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.0163, allocations: 19.94 kB / 400.2 MB, free: 48.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.01634, allocations: 7.938 kB / 400.2 MB, free: 48.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.01643, allocations: 7.984 kB / 400.2 MB, free: 48.97 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.01647, allocations: 7.984 kB / 400.2 MB, free: 48.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.01649, allocations: 8 kB / 400.2 MB, free: 48.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001552/0.01665, allocations: 209.6 kB / 400.4 MB, free: 48.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01665, allocations: 0 / 400.4 MB, free: 48.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003265/0.01698, allocations: 67.75 kB / 400.5 MB, free: 48.69 MB / 314.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.002266/0.01924, allocations: 0.5401 MB / 401 MB, free: 48.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003332/0.01958, allocations: 83.83 kB / 401.1 MB, free: 48.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.01958, allocations: 0 / 401.1 MB, free: 48.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.191e-05/0.01967, allocations: 35.98 kB / 401.2 MB, free: 48.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.0201, allocations: 47.41 kB / 401.2 MB, free: 48.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008968/0.021, allocations: 416.1 kB / 401.6 MB, free: 47.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.844e-05/0.0211, allocations: 128.8 kB / 401.7 MB, free: 47.62 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.535e-05/0.02119, allocations: 21.48 kB / 401.8 MB, free: 47.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.02124, allocations: 20.5 kB / 401.8 MB, free: 47.58 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.02124, allocations: 0 / 401.8 MB, free: 47.58 MB / 314.7 MB Notification: Performance of Templates: time 0.00657/0.02781, allocations: 2.845 MB / 404.6 MB, free: 44.78 MB / 314.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 & ./HanserModelica_HanserModelica.Electrical.TablesFromFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.286234995000996]