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.001066/0.001066, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001559/0.002626, allocations: 435.8 kB / 10.33 MB, free: 368 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.9632/0.9632, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1661/1.129, allocations: 53.64 MB / 241.9 MB, free: 2.746 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.000795/0.000795, allocations: 159.1 kB / 242.8 MB, free: 1.879 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.0018, allocations: 483.7 kB / 243.2 MB, free: 1.426 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.02387/0.02387, allocations: 6.652 MB / 250.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004815/0.02868, allocations: 2.658 MB / 253.3 MB, free: 7.578 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 8.52e-07/8.52e-07, allocations: 0 / 254.6 MB, free: 6.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.133e-05, allocations: 4.703 kB / 254.6 MB, free: 6.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.002489/0.002511, allocations: 2.261 MB / 256.8 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.004442, allocations: 1.851 MB / 258.7 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.772e-05/0.00453, allocations: 0 / 258.7 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.004748, allocations: 107.4 kB / 258.8 MB, free: 2.062 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.005032, allocations: 155.2 kB / 258.9 MB, free: 1.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.005227, allocations: 107.5 kB / 259 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.005448, allocations: 235 kB / 259.3 MB, free: 1.574 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.592e-05/0.005544, allocations: 38.45 kB / 259.3 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.005713, allocations: 163.7 kB / 259.5 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.00585, allocations: 91.77 kB / 259.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.005875, allocations: 16 kB / 259.6 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.006042, allocations: 115.8 kB / 259.7 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.006093, allocations: 47.8 kB / 259.7 MB, free: 1.109 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.757e-05/0.006141, allocations: 47.88 kB / 259.8 MB, free: 1.062 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.006392, allocations: 223.2 kB / 260 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.499e-05/0.006407, allocations: 0 / 260 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.006408, allocations: 0 / 260 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.006423, allocations: 3.938 kB / 260 MB, free: 0.8398 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.0005465/0.006969, allocations: 495.2 kB / 260.5 MB, free: 340 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.007, allocations: 8.031 kB / 260.5 MB, free: 332 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.007044, allocations: 24.92 kB / 260.5 MB, free: 308 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.007238, allocations: 173.4 kB / 260.7 MB, free: 108 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.007256, allocations: 8.609 kB / 260.7 MB, free: 100 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.007277, allocations: 12.38 kB / 260.7 MB, free: 88 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.007483, allocations: 184.9 kB / 260.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.007493, allocations: 7.922 kB / 260.9 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.007505, allocations: 12 kB / 260.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.007511, allocations: 0 / 260.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.445e-05/0.007565, allocations: 31.52 kB / 260.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.007974, allocations: 371.8 kB / 261.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.00816, allocations: 124 kB / 261.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/0.008184, allocations: 20.8 kB / 261.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.008194, allocations: 4 kB / 261.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.008308, allocations: 121.5 kB / 261.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.008309, allocations: 0 / 261.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001262/0.008435, allocations: 92.36 kB / 261.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.008461, allocations: 55.41 kB / 261.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.008592, allocations: 221.1 kB / 261.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.008606, allocations: 29.7 kB / 261.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/0.008656, allocations: 124.7 kB / 262.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.00868, allocations: 31.73 kB / 262.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.008717, allocations: 41.64 kB / 262.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.058e-05/0.008788, allocations: 330.8 kB / 262.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.008806, allocations: 14.81 kB / 262.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.324e-05/0.008859, allocations: 115.4 kB / 262.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.136e-05/0.00891, allocations: 61 kB / 262.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.008912, allocations: 4 kB / 262.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 8.682e-05/0.008999, allocations: 96.3 kB / 262.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.649e-06/0.009008, allocations: 8.062 kB / 262.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.009013, allocations: 7.938 kB / 262.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.009022, allocations: 4 kB / 262.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.00911, allocations: 27.98 kB / 262.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.614e-06/0.009113, allocations: 0 / 262.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.457e-05/0.009157, allocations: 12 kB / 262.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.009163, allocations: 4 kB / 262.8 MB, free: 13.77 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.359e-05/0.009227, allocations: 128.6 kB / 262.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.009243, allocations: 15.98 kB / 262.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.207e-05/0.009335, allocations: 87.06 kB / 263 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.009337, allocations: 4 kB / 263 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.009338, allocations: 0 / 263 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.009341, allocations: 0 / 263 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.646e-05/0.009427, allocations: 113.7 kB / 263.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.009429, allocations: 3.984 kB / 263.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.971e-05/0.009488, allocations: 23.94 kB / 263.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.009508, allocations: 19.89 kB / 263.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.009509, allocations: 0 / 263.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.009516, allocations: 3.938 kB / 263.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.009517, allocations: 0 / 263.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.009519, allocations: 4 kB / 263.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.009644, allocations: 126.7 kB / 263.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.009661, allocations: 4 kB / 263.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.629e-05/0.009697, allocations: 7.938 kB / 263.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.009718, allocations: 7.984 kB / 263.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.009727, allocations: 7.984 kB / 263.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.227e-05/0.00979, allocations: 89.38 kB / 263.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00979, allocations: 0 / 263.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001556/0.009945, allocations: 71.69 kB / 263.5 MB, free: 13 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.001385/0.01133, allocations: 0.6985 MB / 264.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.201e-05/0.01142, allocations: 60.75 kB / 264.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.01143, allocations: 4 kB / 264.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.989e-05/0.01146, allocations: 25.06 kB / 264.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.01159, allocations: 58.62 kB / 264.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.01285, allocations: 402.5 kB / 264.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.737e-05/0.01289, allocations: 79.81 kB / 264.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.454e-05/0.01293, allocations: 21.47 kB / 264.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.517e-05/0.01302, allocations: 83.36 kB / 264.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01302, allocations: 0 / 264.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of Templates: time 0.004464/0.01748, allocations: 3.244 MB / 268.2 MB, free: 8.633 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 & ./HanserModelica_HanserModelica.Electrical.TablesFromFile -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7074562907218933]