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.001267/0.001267, allocations: 81.23 kB / 19.18 MB, free: 2.52 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.367/1.367, allocations: 177.2 MB / 199.4 MB, free: 8.441 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.001582/0.001582, allocations: 152.9 kB / 256 MB, free: 4.34 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.0396/0.0396, allocations: 6.661 MB / 319 MB, free: 5.391 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.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 1.463e-06/1.463e-06, allocations: 0 / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.846e-05, allocations: 6.219 kB / 445.9 MB, free: 25.2 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.002688/0.002716, allocations: 2.131 MB / 448 MB, free: 23.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.00463, allocations: 1.742 MB / 449.8 MB, free: 21.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.004735, allocations: 4 kB / 449.8 MB, free: 21.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.005059, allocations: 115.4 kB / 449.9 MB, free: 21.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.005454, allocations: 159.1 kB / 450 MB, free: 21.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.005675, allocations: 91.64 kB / 450.1 MB, free: 20.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.005916, allocations: 247 kB / 450.4 MB, free: 20.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.006064, allocations: 29.8 kB / 450.4 MB, free: 20.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.00622, allocations: 131.7 kB / 450.5 MB, free: 20.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008326/0.01455, allocations: 99.75 kB / 450.6 MB, free: 20.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.586e-05/0.01461, allocations: 20 kB / 450.6 MB, free: 20.42 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.01491, allocations: 111.8 kB / 450.8 MB, free: 20.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.658e-05/0.015, allocations: 51.77 kB / 450.8 MB, free: 20.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.51e-05/0.01509, allocations: 59.84 kB / 450.9 MB, free: 20.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004392/0.01553, allocations: 307 kB / 451.2 MB, free: 19.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.01554, allocations: 0 / 451.2 MB, free: 19.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01554, allocations: 0 / 451.2 MB, free: 19.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.01554, allocations: 0 / 451.2 MB, free: 19.9 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.000749/0.01629, allocations: 465 kB / 451.6 MB, free: 19.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.01633, allocations: 19.98 kB / 451.6 MB, free: 19.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.528e-05/0.0164, allocations: 24.75 kB / 451.7 MB, free: 19.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.01671, allocations: 189.3 kB / 451.8 MB, free: 19.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.01673, allocations: 8.609 kB / 451.9 MB, free: 19.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.01676, allocations: 20.31 kB / 451.9 MB, free: 19.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.01703, allocations: 200.6 kB / 452.1 MB, free: 18.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.01704, allocations: 3.938 kB / 452.1 MB, free: 18.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.01706, allocations: 8 kB / 452.1 MB, free: 18.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.01707, allocations: 4 kB / 452.1 MB, free: 18.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.01722, allocations: 72.66 kB / 452.2 MB, free: 18.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000647/0.01787, allocations: 470.5 kB / 452.6 MB, free: 18.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.01824, allocations: 102.7 kB / 452.7 MB, free: 18.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.873e-05/0.01832, allocations: 36.83 kB / 452.8 MB, free: 18.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.01833, allocations: 0 / 452.8 MB, free: 18.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.01852, allocations: 138.6 kB / 452.9 MB, free: 18.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.01852, allocations: 4 kB / 452.9 MB, free: 18.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003884/0.01891, allocations: 145.5 kB / 453 MB, free: 17.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.01895, allocations: 102.8 kB / 453.1 MB, free: 17.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.01919, allocations: 276.1 kB / 453.4 MB, free: 17.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.0192, allocations: 29.7 kB / 453.4 MB, free: 17.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.01e-05/0.01928, allocations: 144.2 kB / 453.6 MB, free: 17.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.01931, allocations: 35.72 kB / 453.6 MB, free: 17.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/0.01937, allocations: 29.72 kB / 453.6 MB, free: 17.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 7.538e-05/0.01944, allocations: 330.8 kB / 454 MB, free: 16.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.557e-05/0.01952, allocations: 31.98 kB / 454 MB, free: 16.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.399e-05/0.01961, allocations: 132.5 kB / 454.1 MB, free: 16.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.01975, allocations: 91.36 kB / 454.2 MB, free: 16.58 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01976, allocations: 0 / 454.2 MB, free: 16.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002371/0.01999, allocations: 153.3 kB / 454.4 MB, free: 16.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.02001, allocations: 4 kB / 454.4 MB, free: 16.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.02001, allocations: 4 kB / 454.4 MB, free: 16.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.02003, allocations: 4.125 kB / 454.4 MB, free: 16.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.02014, allocations: 27.97 kB / 454.4 MB, free: 16.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.02015, allocations: 4 kB / 454.4 MB, free: 16.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.544e-05/0.02025, allocations: 4 kB / 454.4 MB, free: 16.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.02026, allocations: 8 kB / 454.4 MB, free: 16.37 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 0.0001083/0.02037, allocations: 137.8 kB / 454.6 MB, free: 16.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.0204, allocations: 27.8 kB / 454.6 MB, free: 16.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.02066, allocations: 139 kB / 454.7 MB, free: 16.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.02066, allocations: 0 / 454.7 MB, free: 16.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.02067, allocations: 4 kB / 454.7 MB, free: 16.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.02067, allocations: 3.984 kB / 454.7 MB, free: 16.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.02082, allocations: 173.2 kB / 454.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.02082, allocations: 4 kB / 454.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.822e-05/0.02091, allocations: 15.94 kB / 454.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.02091, allocations: 4.375 kB / 454.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.02093, allocations: 7.938 kB / 454.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.02093, allocations: 7.969 kB / 454.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02093, allocations: 0 / 454.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.02126, allocations: 197.1 kB / 455.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.02129, allocations: 27.98 kB / 455.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.02132, allocations: 3.938 kB / 455.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/0.02141, allocations: 4 kB / 455.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.02146, allocations: 11.98 kB / 455.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.02148, allocations: 4 kB / 455.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.02162, allocations: 209.6 kB / 455.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02162, allocations: 3.938 kB / 455.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.02191, allocations: 71.75 kB / 455.5 MB, free: 15.28 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.001908/0.02382, allocations: 0.5262 MB / 456 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.02402, allocations: 83.91 kB / 456.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.02402, allocations: 0 / 456.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.982e-05/0.0241, allocations: 39.92 kB / 456.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.0244, allocations: 35.44 kB / 456.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006365/0.02503, allocations: 418.3 kB / 456.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.47e-05/0.02511, allocations: 120.8 kB / 456.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.813e-05/0.02517, allocations: 25.47 kB / 456.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.02522, allocations: 24.48 kB / 456.7 MB, free: 14.19 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.02522, allocations: 0 / 456.7 MB, free: 14.19 MB / 334.1 MB Notification: Performance of Templates: time 0.00612/0.03134, allocations: 2.824 MB / 459.5 MB, free: 11.41 MB / 334.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.44432845339179] Failed to read output from testmodel.py, exit status != 0: 0.038632020354270935 0.050453983 0.031730585 Calling exit ...