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.001967/0.001967, allocations: 79.73 kB / 19.76 MB, free: 1.879 MB / 14.72 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.528/1.528, allocations: 177.2 MB / 200.1 MB, free: 9.141 MB / 190.1 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.001895/0.001895, allocations: 156.6 kB / 256.6 MB, free: 0.7695 MB / 238.1 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.05932/0.05932, allocations: 6.658 MB / 319.6 MB, free: 12.07 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002662/0.002662, allocations: 83.88 kB / 446.4 MB, free: 2.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3515, allocations: 55.59 MB / 0.4902 GB, free: 76.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.002885/0.3544, allocations: 2.109 MB / 0.4923 GB, free: 74.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.356, allocations: 1.05 MB / 0.4933 GB, free: 74.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.3561, allocations: 2.906 kB / 0.4933 GB, free: 74.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.3564, allocations: 109.8 kB / 0.4934 GB, free: 74.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003739/0.3568, allocations: 149.6 kB / 0.4936 GB, free: 74.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.357, allocations: 103.7 kB / 0.4937 GB, free: 73.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.3573, allocations: 229.5 kB / 0.4939 GB, free: 73.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.3574, allocations: 32.75 kB / 0.4939 GB, free: 73.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.3575, allocations: 90.84 kB / 0.494 GB, free: 73.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.3576, allocations: 105.4 kB / 0.4941 GB, free: 73.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.3577, allocations: 17 kB / 0.4941 GB, free: 73.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.3578, allocations: 52.7 kB / 0.4942 GB, free: 73.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.558e-05/0.3579, allocations: 43.06 kB / 0.4942 GB, free: 73.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.812e-05/0.358, allocations: 80.78 kB / 0.4943 GB, free: 73.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.3582, allocations: 235.4 kB / 0.4945 GB, free: 73.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3582, allocations: 4 kB / 0.4945 GB, free: 73.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3582, allocations: 0 / 0.4945 GB, free: 73.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.3583, allocations: 0 / 0.4945 GB, free: 73.62 MB / 446.1 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.0006233/0.3589, allocations: 448.4 kB / 0.4949 GB, free: 73.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3589, allocations: 9.781 kB / 0.4949 GB, free: 73.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.359, allocations: 22.64 kB / 0.495 GB, free: 73.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.3593, allocations: 182 kB / 0.4951 GB, free: 73.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3593, allocations: 11.14 kB / 0.4951 GB, free: 73.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.3593, allocations: 18.44 kB / 0.4952 GB, free: 73.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.3595, allocations: 145.7 kB / 0.4953 GB, free: 72.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3596, allocations: 0 / 0.4953 GB, free: 72.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.3596, allocations: 10.88 kB / 0.4953 GB, free: 72.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3596, allocations: 3.281 kB / 0.4953 GB, free: 72.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.3597, allocations: 77.52 kB / 0.4954 GB, free: 72.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000665/0.3604, allocations: 464.9 kB / 0.4958 GB, free: 72.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.3608, allocations: 116.9 kB / 0.4959 GB, free: 72.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.662e-05/0.3608, allocations: 32.23 kB / 0.496 GB, free: 72.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.3608, allocations: 3.984 kB / 0.496 GB, free: 72.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.361, allocations: 137.9 kB / 0.4961 GB, free: 72.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.361, allocations: 0 / 0.4961 GB, free: 72.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003568/0.3614, allocations: 148.1 kB / 0.4963 GB, free: 72.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.3614, allocations: 77.11 kB / 0.4963 GB, free: 72.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.3616, allocations: 268.3 kB / 0.4966 GB, free: 72.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.3617, allocations: 32.89 kB / 0.4966 GB, free: 72.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.804e-05/0.3618, allocations: 144 kB / 0.4968 GB, free: 71.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.3618, allocations: 37.3 kB / 0.4968 GB, free: 71.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.3618, allocations: 30.62 kB / 0.4968 GB, free: 71.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.135e-05/0.3619, allocations: 331.6 kB / 0.4971 GB, free: 71.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-05/0.3619, allocations: 26.81 kB / 0.4972 GB, free: 71.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.541e-05/0.362, allocations: 91.17 kB / 0.4972 GB, free: 71.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.3622, allocations: 97.78 kB / 0.4973 GB, free: 71.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3622, allocations: 3.938 kB / 0.4973 GB, free: 71.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002091/0.3624, allocations: 140.4 kB / 0.4975 GB, free: 71.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3624, allocations: 3.188 kB / 0.4975 GB, free: 71.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3624, allocations: 3.25 kB / 0.4975 GB, free: 71.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3624, allocations: 0 / 0.4975 GB, free: 71.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3625, allocations: 29.7 kB / 0.4975 GB, free: 71.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3625, allocations: 0 / 0.4975 GB, free: 71.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.779e-05/0.3626, allocations: 18.42 kB / 0.4975 GB, free: 71.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.3626, allocations: 3.312 kB / 0.4975 GB, free: 71.26 MB / 446.1 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 9.422e-05/0.3627, allocations: 145.5 kB / 0.4977 GB, free: 71.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.3628, allocations: 21.69 kB / 0.4977 GB, free: 71.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.363, allocations: 138.8 kB / 0.4978 GB, free: 71.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.363, allocations: 0 / 0.4978 GB, free: 71.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.363, allocations: 3.344 kB / 0.4978 GB, free: 71.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.363, allocations: 0 / 0.4978 GB, free: 71.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.3632, allocations: 174.2 kB / 0.498 GB, free: 70.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3632, allocations: 0 / 0.498 GB, free: 70.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.735e-05/0.3632, allocations: 28.28 kB / 0.498 GB, free: 70.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3633, allocations: 3.656 kB / 0.498 GB, free: 70.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3633, allocations: 0 / 0.498 GB, free: 70.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3633, allocations: 0 / 0.498 GB, free: 70.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.3633, allocations: 7.922 kB / 0.498 GB, free: 70.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.3636, allocations: 202.2 kB / 0.4982 GB, free: 70.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.3636, allocations: 18.23 kB / 0.4982 GB, free: 70.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.3636, allocations: 7.328 kB / 0.4982 GB, free: 70.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.3637, allocations: 6.469 kB / 0.4983 GB, free: 70.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.3637, allocations: 6.469 kB / 0.4983 GB, free: 70.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.3637, allocations: 7.25 kB / 0.4983 GB, free: 70.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.3639, allocations: 201 kB / 0.4985 GB, free: 70.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3639, allocations: 0 / 0.4985 GB, free: 70.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.3641, allocations: 47.45 kB / 0.4985 GB, free: 70.6 MB / 446.1 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.001579/0.3657, allocations: 433 kB / 0.4989 GB, free: 70.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.3659, allocations: 88.58 kB / 0.499 GB, free: 70.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3659, allocations: 0 / 0.499 GB, free: 70.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.967e-05/0.366, allocations: 38.42 kB / 0.499 GB, free: 70.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.3663, allocations: 37.72 kB / 0.4991 GB, free: 70.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006851/0.367, allocations: 437.5 kB / 0.4995 GB, free: 70.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.685e-05/0.3671, allocations: 134.4 kB / 0.4996 GB, free: 70 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.492e-05/0.3671, allocations: 14.19 kB / 0.4996 GB, free: 69.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.3672, allocations: 17.75 kB / 0.4996 GB, free: 69.98 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3672, allocations: 4 kB / 0.4997 GB, free: 69.98 MB / 446.1 MB Notification: Performance of Templates: time 0.00583/0.373, allocations: 2.14 MB / 0.5017 GB, free: 69.68 MB / 446.1 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=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.188653690041974] Failed to read output from testmodel.py, exit status != 0: 0.38184123195242137 0.391662962 0.031098207000000003 Calling exit ...