Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001359/0.001359, allocations: 114.5 kB / 21.18 MB, free: 0.5859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 209.5 kB / 24.46 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.588/1.588, allocations: 230.4 MB / 258.1 MB, free: 8.156 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 71.81 kB / 378.8 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2905, allocations: 53.32 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.008446/0.299, allocations: 6.735 MB / 438.8 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004223/0.3032, allocations: 1.715 MB / 440.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.3043, allocations: 23.94 kB / 440.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000866/0.3052, allocations: 261.9 kB / 440.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.3067, allocations: 0.5083 MB / 441.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.3077, allocations: 447.3 kB / 441.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008208/0.3159, allocations: 7.783 MB / 449.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00288/0.3188, allocations: 1.564 MB / 451.1 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004121/0.3229, allocations: 2.75 MB / 453.9 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005461/0.3284, allocations: 2.899 MB / 456.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001355/0.3297, allocations: 0.6562 MB / 457.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.3313, allocations: 0.6602 MB / 458.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001628/0.333, allocations: 1.589 MB / 459.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004979/0.338, allocations: 2.953 MB / 462.6 MB, free: 8.691 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009442/0.3474, allocations: 8.238 MB / 470.9 MB, free: 436 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3474, allocations: 0 / 470.9 MB, free: 436 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3474, allocations: 0 / 470.9 MB, free: 436 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003019/0.3477, allocations: 0 / 470.9 MB, free: 436 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1091 * Number of variables: 1091 Notification: Performance of Generate backend data structure: time 0.01858/0.3663, allocations: 6.036 MB / 476.9 MB, free: 10.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.3663, allocations: 8.031 kB / 476.9 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.3681, allocations: 0.5407 MB / 477.4 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006777/0.3749, allocations: 2.675 MB / 480.1 MB, free: 7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003003/0.3752, allocations: 316.5 kB / 480.4 MB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001171/0.3764, allocations: 444.2 kB / 480.9 MB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01264/0.389, allocations: 6.307 MB / 487.2 MB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-05/0.3891, allocations: 0 / 487.2 MB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005195/0.3896, allocations: 183.9 kB / 487.3 MB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002099/0.3898, allocations: 196.5 kB / 487.5 MB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01226/0.402, allocations: 5.545 MB / 493.1 MB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04426/0.4463, allocations: 18.6 MB / 0.4997 GB, free: 6.945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007685/0.454, allocations: 4.342 MB / 0.5039 GB, free: 2.586 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004926/0.4589, allocations: 3.353 MB / 0.5072 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.4591, allocations: 42.75 kB / 0.5072 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.955e-05/0.4591, allocations: 89.94 kB / 0.5073 GB, free: 15.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=358): time 4.729e-06/0.4592, allocations: 0 / 0.5073 GB, free: 15.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=358): time 0.01156/0.4707, allocations: 6.439 MB / 0.5136 GB, free: 8.449 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002155/0.4709, allocations: 295.8 kB / 0.5139 GB, free: 8.098 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005795/0.4767, allocations: 3.205 MB / 0.517 GB, free: 4.867 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007025/0.4774, allocations: 113.7 kB / 0.5171 GB, free: 4.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001549/0.479, allocations: 1.715 MB / 0.5188 GB, free: 3.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001733/0.4807, allocations: 1.325 MB / 0.5201 GB, free: 1.684 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/0.4819, allocations: 0.642 MB / 0.5207 GB, free: 1.035 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.482, allocations: 305.1 kB / 0.521 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003485/0.4855, allocations: 2.127 MB / 0.5231 GB, free: 14.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003742/0.4893, allocations: 2.451 MB / 0.5255 GB, free: 12.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0183/0.5076, allocations: 9.163 MB / 0.5344 GB, free: 2.898 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.5076, allocations: 0 / 0.5344 GB, free: 2.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.2742/0.7817, allocations: 5.602 MB / 0.5399 GB, free: 98.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.7818, allocations: 5.797 kB / 0.5399 GB, free: 98.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.7818, allocations: 0.9375 kB / 0.5399 GB, free: 98.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.7828, allocations: 334.1 kB / 0.5402 GB, free: 98.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004096/0.7869, allocations: 0.9142 MB / 0.5411 GB, free: 98.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005863/0.7928, allocations: 7.842 MB / 0.5488 GB, free: 91.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/0.7962, allocations: 408.4 kB / 0.5492 GB, free: 91.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003439/0.7966, allocations: 104.3 kB / 0.5493 GB, free: 91.67 MB / 446.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: oLine1.i[8] = 0.0 oLine2.i[8] = 0.0 oLine3.i[8] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (453): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002426/0.799, allocations: 1.414 MB / 0.5507 GB, free: 91.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008356/0.7998, allocations: 354.6 kB / 0.551 GB, free: 91.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007147/0.8005, allocations: 450.8 kB / 0.5514 GB, free: 90.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/0.8005, allocations: 31.75 kB / 0.5515 GB, free: 90.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.685e-05/0.8006, allocations: 10.25 kB / 0.5515 GB, free: 90.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.233e-05/0.8006, allocations: 18.8 kB / 0.5515 GB, free: 90.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/0.8168, allocations: 11.99 MB / 0.5632 GB, free: 85.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/0.8168, allocations: 12 kB / 0.5632 GB, free: 85.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003221/0.82, allocations: 0.8112 MB / 0.564 GB, free: 84.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006331/0.8206, allocations: 285.4 kB / 0.5643 GB, free: 83.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002272/0.8209, allocations: 139.5 kB / 0.5644 GB, free: 83.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005279/0.8261, allocations: 11.02 MB / 0.5752 GB, free: 71.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/0.8262, allocations: 23.88 kB / 0.5752 GB, free: 71.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008764/0.8349, allocations: 7.139 MB / 0.5822 GB, free: 64.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/0.8366, allocations: 0.5594 MB / 0.5827 GB, free: 63.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006494/0.8372, allocations: 131.9 kB / 0.5828 GB, free: 63.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00295/0.8402, allocations: 411.6 kB / 0.5832 GB, free: 63.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004484/0.8406, allocations: 285.6 kB / 0.5835 GB, free: 63.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002214/0.8409, allocations: 128 kB / 0.5836 GB, free: 62.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002792/0.8437, allocations: 2.282 MB / 0.5858 GB, free: 60.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8437, allocations: 0 / 0.5858 GB, free: 60.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004258/0.8479, allocations: 1.327 MB / 0.5871 GB, free: 59.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 57 (oLine1.L[1].i,oLine1.L[2].i,oLine1.L[3].i,oLine1.L[4].i,oLine1.L[5].i,oLine1.L[6].i,oLine1.L[7].i,oLine1.L[8].i,oLine1.C[1].v,oLine1.C[2].v,oLine1.C[3].v,oLine1.C[4].v,oLine1.C[5].v,oLine1.C[6].v,oLine1.C[7].v,oLine2.L[2].i,oLine2.L[3].i,oLine2.L[4].i,oLine2.L[5].i,oLine2.L[6].i,oLine2.L[7].i,oLine2.L[8].i,oLine2.C[1].v,oLine2.C[2].v,oLine2.C[3].v,oLine2.C[4].v,oLine2.C[5].v,oLine2.C[6].v,oLine2.C[7].v,oLine3.L[2].i,oLine3.L[3].i,oLine3.L[4].i,oLine3.L[5].i,oLine3.L[6].i,oLine3.L[7].i,oLine3.L[8].i,oLine3.C[1].v,oLine3.C[2].v,oLine3.C[3].v,oLine3.C[4].v,oLine3.C[5].v,oLine3.C[6].v,oLine3.C[7].v,oLine4.L[2].i,oLine4.L[3].i,oLine4.L[4].i,oLine4.L[5].i,oLine4.L[6].i,oLine4.L[7].i,oLine4.L[8].i,oLine4.C[1].v,oLine4.C[2].v,oLine4.C[3].v,oLine4.C[4].v,oLine4.C[5].v,oLine4.C[6].v,oLine4.C[7].v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (342): * Single equations (assignments): 335 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004847/0.8484, allocations: 303.1 kB / 0.5874 GB, free: 59.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006506/0.8549, allocations: 4.946 MB / 0.5923 GB, free: 54.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.239e-05/0.8549, allocations: 10.56 kB / 0.5923 GB, free: 54.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003787/0.8587, allocations: 3.232 MB / 0.5954 GB, free: 50.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004263/0.863, allocations: 0.8078 MB / 0.5962 GB, free: 49.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01681/0.8798, allocations: 12.69 MB / 0.6086 GB, free: 37.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002447/0.8822, allocations: 3.222 MB / 0.6118 GB, free: 33.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003171/0.8854, allocations: 1.293 MB / 0.613 GB, free: 32.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007783/0.8862, allocations: 251.4 kB / 0.6133 GB, free: 32.33 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.8862, allocations: 0 / 0.6133 GB, free: 32.33 MB / 446.1 MB Notification: Performance of Templates: time 0.08647/0.9727, allocations: 55.11 MB / 0.6671 GB, free: 9.855 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.148906972259283] Failed to read output from testmodel.py, exit status != 0: 0.9825526680797338 0.996015015 0.645407794 Calling exit ...