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.001172/0.001172, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.14/1.14, allocations: 177.1 MB / 200.3 MB, free: 5.695 MB / 186.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.001263/0.001263, allocations: 152.6 kB / 256.9 MB, free: 12.97 MB / 250.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.02383/0.02383, allocations: 6.653 MB / 320.1 MB, free: 26.33 MB / 266.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 2.124e-06/2.124e-06, allocations: 0 / 392.1 MB, free: 2.266 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.59e-05, allocations: 2.312 kB / 392.1 MB, free: 2.262 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003018/0.003044, allocations: 2.207 MB / 394.3 MB, free: 36 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.00439, allocations: 1.068 MB / 395.3 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.916e-05/0.004489, allocations: 0 / 395.3 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.004809, allocations: 107.4 kB / 395.5 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.005121, allocations: 151.2 kB / 395.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.005313, allocations: 103.5 kB / 395.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.005523, allocations: 235.1 kB / 395.9 MB, free: 14.38 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.005641, allocations: 37.64 kB / 396 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.005779, allocations: 127.7 kB / 396.1 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.00591, allocations: 99.77 kB / 396.2 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.005932, allocations: 12 kB / 396.2 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.494e-05/0.006017, allocations: 55.91 kB / 396.3 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.87e-05/0.006076, allocations: 47.78 kB / 396.3 MB, free: 14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.85e-05/0.006134, allocations: 51.84 kB / 396.4 MB, free: 13.95 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.006356, allocations: 175.4 kB / 396.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.006359, allocations: 4 kB / 396.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.00636, allocations: 3.938 kB / 396.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.006365, allocations: 0 / 396.5 MB, free: 13.77 MB / 330.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.0005254/0.006891, allocations: 0.5424 MB / 397.1 MB, free: 13.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.006924, allocations: 12.03 kB / 397.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.006969, allocations: 32.8 kB / 397.1 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.007142, allocations: 184.2 kB / 397.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.007162, allocations: 12.59 kB / 397.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.007184, allocations: 16.38 kB / 397.3 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.007338, allocations: 118.5 kB / 397.4 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.007347, allocations: 3.938 kB / 397.4 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.007358, allocations: 8 kB / 397.5 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.007364, allocations: 0 / 397.5 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.71e-05/0.007421, allocations: 44.64 kB / 397.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.007897, allocations: 490.4 kB / 398 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.008082, allocations: 83.2 kB / 398.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.886e-05/0.008111, allocations: 23.67 kB / 398.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.008126, allocations: 4 kB / 398.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001222/0.008249, allocations: 126 kB / 398.2 MB, free: 11.94 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.00825, allocations: 8 kB / 398.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001802/0.00843, allocations: 113.4 kB / 398.3 MB, free: 11.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.008462, allocations: 81.11 kB / 398.4 MB, free: 11.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.008613, allocations: 270.6 kB / 398.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.008628, allocations: 25.7 kB / 398.7 MB, free: 11.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.158e-05/0.00872, allocations: 198.9 kB / 398.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.008742, allocations: 35.67 kB / 398.9 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.008785, allocations: 43.34 kB / 399 MB, free: 11.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.008907, allocations: 0.4962 MB / 399.5 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.391e-05/0.008931, allocations: 15.98 kB / 399.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.586e-05/0.008987, allocations: 95.98 kB / 399.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.682e-05/0.009053, allocations: 70.67 kB / 399.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.009056, allocations: 0 / 399.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001226/0.009178, allocations: 113.5 kB / 399.7 MB, free: 10.26 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.009194, allocations: 11.94 kB / 399.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.009198, allocations: 0 / 399.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.00921, allocations: 4.125 kB / 399.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.313e-05/0.009283, allocations: 31.86 kB / 399.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.009286, allocations: 4 kB / 399.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.918e-05/0.009336, allocations: 11.95 kB / 399.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.009341, allocations: 4 kB / 399.8 MB, free: 10.2 MB / 330.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 8.467e-05/0.009426, allocations: 164.6 kB / 400 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.009451, allocations: 27.84 kB / 400 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.009602, allocations: 111 kB / 400.1 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.009604, allocations: 0 / 400.1 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.009605, allocations: 4 kB / 400.1 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.00961, allocations: 4 kB / 400.1 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.009725, allocations: 145.1 kB / 400.3 MB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.009728, allocations: 3.984 kB / 400.3 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.439e-05/0.009783, allocations: 16 kB / 400.3 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.009785, allocations: 0 / 400.3 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.009793, allocations: 0 / 400.3 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.009794, allocations: 0 / 400.3 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.009797, allocations: 7.875 kB / 400.3 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.009978, allocations: 164.4 kB / 400.4 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.784e-05/0.009995, allocations: 15.91 kB / 400.5 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.01001, allocations: 12.02 kB / 400.5 MB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.929e-05/0.01005, allocations: 4 kB / 400.5 MB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.01008, allocations: 15.92 kB / 400.5 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.01009, allocations: 0 / 400.5 MB, free: 9.449 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003425/0.01043, allocations: 193.5 kB / 400.7 MB, free: 9.262 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01043, allocations: 0 / 400.7 MB, free: 9.262 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001703/0.0106, allocations: 43.89 kB / 400.7 MB, free: 9.219 MB / 330.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.0007854/0.01139, allocations: 390.8 kB / 401.1 MB, free: 8.957 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.0115, allocations: 55.59 kB / 401.2 MB, free: 8.898 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0115, allocations: 0 / 401.2 MB, free: 8.898 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.371e-05/0.01154, allocations: 39.61 kB / 401.2 MB, free: 8.855 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.01173, allocations: 47.84 kB / 401.2 MB, free: 8.812 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006546/0.01239, allocations: 385.6 kB / 401.6 MB, free: 8.406 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.162e-05/0.01243, allocations: 79.81 kB / 401.7 MB, free: 8.309 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.325e-05/0.01247, allocations: 17.47 kB / 401.7 MB, free: 8.293 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.298e-05/0.01257, allocations: 106.1 kB / 401.8 MB, free: 8.188 MB / 330.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01257, allocations: 0 / 401.8 MB, free: 8.188 MB / 330.7 MB Notification: Performance of Templates: time 0.004683/0.01725, allocations: 2.346 MB / 404.2 MB, free: 5.879 MB / 330.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: 3.2315941089764237]