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.001536/0.001536, allocations: 113 kB / 21.17 MB, free: 0.7812 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.001712/0.001712, allocations: 218.7 kB / 24.47 MB, free: 4.359 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.503/1.503, allocations: 230.4 MB / 258.1 MB, free: 8.16 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.00199/0.00199, allocations: 71.83 kB / 378.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.309, allocations: 53.3 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.008054/0.3171, allocations: 6.733 MB / 438.8 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003756/0.3208, allocations: 1.715 MB / 440.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007938/0.3216, allocations: 23.94 kB / 440.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007876/0.3224, allocations: 258 kB / 440.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.3238, allocations: 0.5082 MB / 441.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009791/0.3248, allocations: 455.2 kB / 441.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008461/0.3332, allocations: 7.779 MB / 449.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002462/0.3357, allocations: 1.575 MB / 451.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004307/0.34, allocations: 2.739 MB / 453.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005385/0.3454, allocations: 2.899 MB / 456.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001436/0.3468, allocations: 0.6562 MB / 457.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.3486, allocations: 0.6602 MB / 458.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001896/0.3505, allocations: 1.597 MB / 459.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00549/0.356, allocations: 2.945 MB / 462.6 MB, free: 8.672 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009991/0.366, allocations: 8.242 MB / 470.8 MB, free: 412 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.366, allocations: 7.938 kB / 470.9 MB, free: 404 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.366, allocations: 0 / 470.9 MB, free: 404 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000239/0.3662, allocations: 0 / 470.9 MB, free: 404 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.01796/0.3842, allocations: 6.028 MB / 476.9 MB, free: 10.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.3842, allocations: 12.03 kB / 476.9 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.3856, allocations: 0.5407 MB / 477.4 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006535/0.3922, allocations: 2.664 MB / 480.1 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002897/0.3925, allocations: 320.5 kB / 480.4 MB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001195/0.3936, allocations: 448.2 kB / 480.9 MB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01376/0.4074, allocations: 6.303 MB / 487.2 MB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.2e-05/0.4075, allocations: 4 kB / 487.2 MB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000553/0.408, allocations: 172 kB / 487.3 MB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002384/0.4083, allocations: 204.4 kB / 487.5 MB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01204/0.4203, allocations: 5.553 MB / 493.1 MB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04116/0.4615, allocations: 18.59 MB / 0.4997 GB, free: 6.926 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007593/0.4691, allocations: 4.339 MB / 0.5039 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004596/0.4736, allocations: 3.357 MB / 0.5072 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.4738, allocations: 34.81 kB / 0.5072 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001067/0.4739, allocations: 97.88 kB / 0.5073 GB, free: 15.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=358): time 5.2e-06/0.4739, allocations: 0 / 0.5073 GB, free: 15.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=358): time 0.01129/0.4852, allocations: 6.435 MB / 0.5136 GB, free: 8.434 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002313/0.4854, allocations: 299.8 kB / 0.5139 GB, free: 8.078 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005672/0.4911, allocations: 3.209 MB / 0.517 GB, free: 4.844 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007784/0.4918, allocations: 105.7 kB / 0.5171 GB, free: 4.734 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001612/0.4935, allocations: 1.723 MB / 0.5188 GB, free: 2.996 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001866/0.4953, allocations: 1.321 MB / 0.5201 GB, free: 1.664 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001365/0.4967, allocations: 0.642 MB / 0.5207 GB, free: 1.016 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.4968, allocations: 309.1 kB / 0.521 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003578/0.5004, allocations: 2.123 MB / 0.5231 GB, free: 14.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004398/0.5048, allocations: 2.455 MB / 0.5255 GB, free: 12.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01873/0.5235, allocations: 9.163 MB / 0.5344 GB, free: 2.875 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.5235, allocations: 0 / 0.5344 GB, free: 2.875 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.2765/0.8, allocations: 5.6 MB / 0.5399 GB, free: 98.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.8001, allocations: 9.406 kB / 0.5399 GB, free: 98.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.8001, allocations: 0 / 0.5399 GB, free: 98.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.8011, allocations: 332.4 kB / 0.5402 GB, free: 98.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004109/0.8052, allocations: 0.9164 MB / 0.5411 GB, free: 98.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00594/0.8112, allocations: 7.845 MB / 0.5488 GB, free: 91.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003474/0.8146, allocations: 415.1 kB / 0.5492 GB, free: 91.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000303/0.8149, allocations: 105 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.002323/0.8173, allocations: 1.417 MB / 0.5507 GB, free: 91.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007526/0.818, allocations: 346.7 kB / 0.551 GB, free: 91.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006152/0.8186, allocations: 450.4 kB / 0.5514 GB, free: 90.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.8187, allocations: 35.41 kB / 0.5515 GB, free: 90.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.292e-05/0.8187, allocations: 4.781 kB / 0.5515 GB, free: 90.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-05/0.8187, allocations: 15.33 kB / 0.5515 GB, free: 90.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/0.8346, allocations: 11.99 MB / 0.5632 GB, free: 85.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.167e-05/0.8346, allocations: 15.98 kB / 0.5632 GB, free: 85.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00328/0.8379, allocations: 0.8113 MB / 0.564 GB, free: 84.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006923/0.8386, allocations: 281.5 kB / 0.5643 GB, free: 83.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002514/0.8388, allocations: 131.9 kB / 0.5644 GB, free: 83.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00513/0.844, allocations: 11.03 MB / 0.5752 GB, free: 71.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/0.844, allocations: 27.88 kB / 0.5752 GB, free: 71.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008368/0.8523, allocations: 7.139 MB / 0.5822 GB, free: 64.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/0.8539, allocations: 0.5594 MB / 0.5827 GB, free: 63.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006/0.8545, allocations: 127.9 kB / 0.5828 GB, free: 63.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002879/0.8574, allocations: 411.6 kB / 0.5832 GB, free: 63.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003882/0.8578, allocations: 257.6 kB / 0.5835 GB, free: 63.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002114/0.858, allocations: 128 kB / 0.5836 GB, free: 62.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002501/0.8605, allocations: 2.271 MB / 0.5858 GB, free: 60.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8605, allocations: 0 / 0.5858 GB, free: 60.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003256/0.8637, allocations: 1.332 MB / 0.5871 GB, free: 59.41 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.0004721/0.8642, allocations: 296.4 kB / 0.5874 GB, free: 59.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005973/0.8702, allocations: 4.96 MB / 0.5922 GB, free: 54.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.64e-05/0.8702, allocations: 9.75 kB / 0.5922 GB, free: 54.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003011/0.8732, allocations: 2.916 MB / 0.5951 GB, free: 51.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003776/0.877, allocations: 0.8043 MB / 0.5959 GB, free: 50.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/0.8934, allocations: 12.7 MB / 0.6083 GB, free: 37.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002394/0.8958, allocations: 3.167 MB / 0.6114 GB, free: 34.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/0.8974, allocations: 256.6 kB / 0.6116 GB, free: 33.99 MB / 446.1 MB Notification: Performance of SimCode: time 1.663e-06/0.8974, allocations: 0 / 0.6116 GB, free: 33.99 MB / 446.1 MB Notification: Performance of Templates: time 0.4195/1.317, allocations: 172.1 MB / 0.7797 GB, free: 158 MB / 0.5294 GB " [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 -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: 16.428711253218353] Failed to read output from testmodel.py, exit status != 0: 1.3263908689841628 1.334125815 0.965905578 Calling exit ...