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.001323/0.001323, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.366/1.366, allocations: 177.2 MB / 199.4 MB, free: 8.445 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.001516/0.001516, allocations: 162.8 kB / 256 MB, free: 4.32 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.04104/0.04104, allocations: 6.66 MB / 319 MB, free: 5.387 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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.961e-05/4.136e-05, allocations: 6.219 kB / 445.9 MB, free: 25.2 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003334/0.003375, allocations: 2.111 MB / 448 MB, free: 23.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.004998, allocations: 1.056 MB / 449.1 MB, free: 22.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.005167, allocations: 0 / 449.1 MB, free: 22.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000359/0.005526, allocations: 103.5 kB / 449.2 MB, free: 21.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004299/0.005956, allocations: 151.2 kB / 449.3 MB, free: 21.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.006237, allocations: 107.5 kB / 449.4 MB, free: 21.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.00652, allocations: 231.1 kB / 449.6 MB, free: 21.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.006656, allocations: 41.78 kB / 449.7 MB, free: 21.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.006825, allocations: 123.7 kB / 449.8 MB, free: 21.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.006979, allocations: 95.75 kB / 449.9 MB, free: 21.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.00701, allocations: 12 kB / 449.9 MB, free: 21.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.007129, allocations: 51.92 kB / 450 MB, free: 21.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.852e-05/0.007198, allocations: 51.77 kB / 450 MB, free: 21.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.249e-05/0.00727, allocations: 51.86 kB / 450.1 MB, free: 21.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.00757, allocations: 243.2 kB / 450.3 MB, free: 20.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.007573, allocations: 0 / 450.3 MB, free: 20.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.007574, allocations: 0 / 450.3 MB, free: 20.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.00758, allocations: 4 kB / 450.3 MB, free: 20.77 MB / 334.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.0006904/0.00827, allocations: 445.2 kB / 450.7 MB, free: 20.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.008306, allocations: 11.98 kB / 450.7 MB, free: 20.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.931e-05/0.008375, allocations: 24.8 kB / 450.8 MB, free: 20.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.00869, allocations: 189.1 kB / 451 MB, free: 20.06 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.00871, allocations: 8.609 kB / 451 MB, free: 20.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.008738, allocations: 12.38 kB / 451 MB, free: 20.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.008996, allocations: 149.8 kB / 451.1 MB, free: 19.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.009009, allocations: 7.938 kB / 451.1 MB, free: 19.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.009026, allocations: 0 / 451.1 MB, free: 19.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.009036, allocations: 4 kB / 451.1 MB, free: 19.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.009195, allocations: 80.64 kB / 451.2 MB, free: 19.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006581/0.009853, allocations: 462.6 kB / 451.7 MB, free: 19.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/0.01023, allocations: 102.7 kB / 451.8 MB, free: 19.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.588e-05/0.0103, allocations: 36.84 kB / 451.8 MB, free: 19.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.01032, allocations: 3.938 kB / 451.8 MB, free: 19.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.0105, allocations: 130.7 kB / 451.9 MB, free: 19 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.01051, allocations: 0 / 451.9 MB, free: 19 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003431/0.01085, allocations: 157.4 kB / 452.1 MB, free: 18.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.01088, allocations: 77.11 kB / 452.2 MB, free: 18.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.01108, allocations: 264.1 kB / 452.4 MB, free: 18.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.01109, allocations: 25.7 kB / 452.4 MB, free: 18.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.01116, allocations: 144.2 kB / 452.6 MB, free: 18.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.01118, allocations: 39.69 kB / 452.6 MB, free: 18.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.01123, allocations: 29.7 kB / 452.6 MB, free: 18.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 5.168e-05/0.01128, allocations: 330.8 kB / 453 MB, free: 17.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.01135, allocations: 31.92 kB / 453 MB, free: 17.85 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-05/0.01143, allocations: 93.91 kB / 453.1 MB, free: 17.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.01158, allocations: 95.3 kB / 453.2 MB, free: 17.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.01158, allocations: 4 kB / 453.2 MB, free: 17.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002266/0.01181, allocations: 137.5 kB / 453.3 MB, free: 17.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.01182, allocations: 6.344 kB / 453.3 MB, free: 17.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01183, allocations: 4 kB / 453.3 MB, free: 17.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.01184, allocations: 0 / 453.3 MB, free: 17.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.01195, allocations: 27.92 kB / 453.4 MB, free: 17.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.01196, allocations: 4 kB / 453.4 MB, free: 17.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.246e-05/0.01205, allocations: 11.95 kB / 453.4 MB, free: 17.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.01206, allocations: 4 kB / 453.4 MB, free: 17.43 MB / 334.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.545e-05/0.01215, allocations: 141.9 kB / 453.5 MB, free: 17.28 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.01218, allocations: 19.84 kB / 453.5 MB, free: 17.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.01245, allocations: 143 kB / 453.7 MB, free: 17.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.01246, allocations: 4 kB / 453.7 MB, free: 17.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.01246, allocations: 0 / 453.7 MB, free: 17.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01247, allocations: 0 / 453.7 MB, free: 17.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.01259, allocations: 177.1 kB / 453.9 MB, free: 16.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.0126, allocations: 8 kB / 453.9 MB, free: 16.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.758e-05/0.01268, allocations: 16 kB / 453.9 MB, free: 16.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.01269, allocations: 0 / 453.9 MB, free: 16.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.0127, allocations: 3.938 kB / 453.9 MB, free: 16.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.0127, allocations: 8 kB / 453.9 MB, free: 16.88 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.0127, allocations: 0 / 453.9 MB, free: 16.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.013, allocations: 201.4 kB / 454.1 MB, free: 16.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.01303, allocations: 15.89 kB / 454.1 MB, free: 16.65 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.01306, allocations: 7.922 kB / 454.1 MB, free: 16.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.8e-05/0.01313, allocations: 8 kB / 454.1 MB, free: 16.63 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.01318, allocations: 11.92 kB / 454.1 MB, free: 16.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.01319, allocations: 4 kB / 454.1 MB, free: 16.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.01332, allocations: 201.6 kB / 454.3 MB, free: 16.42 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01332, allocations: 4.062 kB / 454.3 MB, free: 16.42 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.01357, allocations: 43.89 kB / 454.4 MB, free: 16.38 MB / 334.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.001628/0.0152, allocations: 446 kB / 454.8 MB, free: 16.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.01542, allocations: 71.91 kB / 454.9 MB, free: 16.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01542, allocations: 0 / 454.9 MB, free: 16.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.143e-05/0.0155, allocations: 40.14 kB / 454.9 MB, free: 16.01 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.0158, allocations: 48.5 kB / 455 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006924/0.01649, allocations: 398.2 kB / 455.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.07e-05/0.01657, allocations: 132.8 kB / 455.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.898e-05/0.01663, allocations: 21.41 kB / 455.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.01667, allocations: 16.5 kB / 455.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01667, allocations: 4 kB / 455.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of Templates: time 0.005324/0.02199, allocations: 2.129 MB / 457.7 MB, free: 13.27 MB / 334.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 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.371846232563257] Failed to read output from testmodel.py, exit status != 0: 0.02912106364965439 0.040243613000000004 0.03002716 Calling exit ...