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.001212/0.001212, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001217/0.002429, 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.9662/0.9662, allocations: 177.2 MB / 188.2 MB, free: 4.484 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1713/1.138, allocations: 53.64 MB / 241.9 MB, free: 2.707 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.0007585/0.0007585, allocations: 149.6 kB / 242.8 MB, free: 1.844 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.001771, allocations: 480.4 kB / 243.2 MB, free: 1.391 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.02376/0.02376, allocations: 6.657 MB / 250.6 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00481/0.02857, allocations: 2.672 MB / 253.3 MB, free: 7.531 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.323e-06/1.323e-06, allocations: 0 / 254.5 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602e-05/1.734e-05, allocations: 2.312 kB / 254.5 MB, free: 6.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.00253/0.002547, allocations: 2.257 MB / 256.8 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.00414, allocations: 1.099 MB / 257.9 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.004254, allocations: 8 kB / 257.9 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.004502, allocations: 103.4 kB / 258 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.004813, allocations: 155.2 kB / 258.2 MB, free: 2.641 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.005058, allocations: 99.58 kB / 258.3 MB, free: 2.543 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.005342, allocations: 231.1 kB / 258.5 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.005455, allocations: 37.39 kB / 258.5 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.005638, allocations: 168.2 kB / 258.7 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.005767, allocations: 83.78 kB / 258.8 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.005787, allocations: 16 kB / 258.8 MB, free: 2.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.674e-05/0.005884, allocations: 47.98 kB / 258.8 MB, free: 1.973 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.517e-05/0.005939, allocations: 43.86 kB / 258.9 MB, free: 1.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.39e-05/0.005993, allocations: 43.88 kB / 258.9 MB, free: 1.887 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.006228, allocations: 175.2 kB / 259.1 MB, free: 1.715 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.887e-05/0.006247, allocations: 0 / 259.1 MB, free: 1.715 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006248, allocations: 0 / 259.1 MB, free: 1.715 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.00626, allocations: 4 kB / 259.1 MB, free: 1.711 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.0006195/0.006879, allocations: 451.5 kB / 259.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.006916, allocations: 16.03 kB / 259.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/0.006966, allocations: 24.91 kB / 259.6 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.007153, allocations: 173.2 kB / 259.7 MB, free: 1.012 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.007171, allocations: 12.61 kB / 259.8 MB, free: 1 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.007193, allocations: 12.38 kB / 259.8 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.007367, allocations: 129.3 kB / 259.9 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-06/0.007374, allocations: 3.938 kB / 259.9 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.007385, allocations: 8 kB / 259.9 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.007389, allocations: 0 / 259.9 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.874e-05/0.007438, allocations: 32.67 kB / 259.9 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.007871, allocations: 376 kB / 260.3 MB, free: 420 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.008059, allocations: 116.1 kB / 260.4 MB, free: 292 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.579e-05/0.008085, allocations: 20.86 kB / 260.4 MB, free: 268 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.008097, allocations: 0 / 260.4 MB, free: 268 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000124/0.008221, allocations: 125.5 kB / 260.6 MB, free: 116 kB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.008222, allocations: 0 / 260.6 MB, free: 116 kB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001371/0.008359, allocations: 96.3 kB / 260.7 MB, free: 12 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.008395, allocations: 51.41 kB / 260.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.008519, allocations: 221 kB / 260.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.008535, allocations: 29.7 kB / 260.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.008588, allocations: 124.2 kB / 261.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.008612, allocations: 35.73 kB / 261.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.008647, allocations: 29.69 kB / 261.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.64e-05/0.008723, allocations: 326.8 kB / 261.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/0.008746, allocations: 14.81 kB / 261.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-05/0.008789, allocations: 77.91 kB / 261.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.384e-05/0.008852, allocations: 80.95 kB / 261.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.008856, allocations: 4 kB / 261.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.942e-05/0.008955, allocations: 88.36 kB / 261.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.008968, allocations: 4 kB / 261.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.008974, allocations: 3.938 kB / 261.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.008982, allocations: 4 kB / 261.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.0091, allocations: 36.08 kB / 261.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.009104, allocations: 7.875 kB / 261.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.43e-05/0.009158, allocations: 11.95 kB / 261.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.009165, allocations: 4 kB / 261.8 MB, free: 14.78 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 7.177e-05/0.009237, allocations: 120.7 kB / 261.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.009255, allocations: 15.98 kB / 261.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.009367, allocations: 87 kB / 262 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.009369, allocations: 0 / 262 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.009371, allocations: 4 kB / 262 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.009374, allocations: 4 kB / 262 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.009476, allocations: 113.8 kB / 262.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.009478, allocations: 0 / 262.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.807e-05/0.009556, allocations: 19.98 kB / 262.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.009572, allocations: 15.86 kB / 262.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.009574, allocations: 0 / 262.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.009583, allocations: 7.938 kB / 262.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.009588, allocations: 3.984 kB / 262.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.009589, allocations: 0 / 262.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.009729, allocations: 122.6 kB / 262.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.009748, allocations: 12.02 kB / 262.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.913e-05/0.009787, allocations: 11.94 kB / 262.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.009812, allocations: 3.984 kB / 262.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.009824, allocations: 4 kB / 262.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.324e-05/0.009888, allocations: 85.38 kB / 262.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009888, allocations: 0 / 262.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001524/0.01004, allocations: 39.89 kB / 262.4 MB, free: 14.07 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.00132/0.01136, allocations: 0.5474 MB / 263 MB, free: 13.78 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001151/0.01148, allocations: 56.7 kB / 263 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/0.01149, allocations: 4 kB / 263 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.716e-05/0.01152, allocations: 40.92 kB / 263.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.01169, allocations: 59.67 kB / 263.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.01303, allocations: 382.8 kB / 263.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.041e-05/0.01308, allocations: 87.67 kB / 263.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.652e-05/0.01313, allocations: 21.47 kB / 263.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.197e-05/0.01322, allocations: 75.36 kB / 263.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of SimCode: time 1.243e-06/0.01322, allocations: 0 / 263.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of Templates: time 0.004476/0.01769, allocations: 2.453 MB / 266.1 MB, free: 10.6 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 & ./HanserModelica_HanserModelica.Electrical.Tables -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6676921201869845]