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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001824/0.001824, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002012/0.002012, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.491/1.491, allocations: 230.4 MB / 251.1 MB, free: 8.434 MB / 206.1 MB 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.002095/0.002095, allocations: 71.97 kB / 369 MB, free: 6.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2553, allocations: 53.31 MB / 422.3 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.008149/0.2635, allocations: 6.719 MB / 429 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00411/0.2676, allocations: 1.719 MB / 430.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005752/0.2682, allocations: 16 kB / 430.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006909/0.2689, allocations: 257.9 kB / 431 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.2699, allocations: 0.5121 MB / 431.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009314/0.2709, allocations: 447.3 kB / 432 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008253/0.2791, allocations: 7.814 MB / 439.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002859/0.282, allocations: 2.191 MB / 442 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004436/0.2864, allocations: 2.743 MB / 444.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004773/0.2912, allocations: 2.9 MB / 447.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001222/0.2924, allocations: 0.6602 MB / 448.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.2939, allocations: 0.6562 MB / 448.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001594/0.2955, allocations: 1.593 MB / 450.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004808/0.3003, allocations: 2.945 MB / 453.5 MB, free: 8.477 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.311, allocations: 8.238 MB / 461.7 MB, free: 220 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.311, allocations: 4 kB / 461.7 MB, free: 216 kB / 366.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.311, allocations: 0 / 461.7 MB, free: 216 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004708/0.3115, allocations: 0 / 461.7 MB, free: 216 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.0176/0.3291, allocations: 6.043 MB / 467.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.3291, allocations: 8.031 kB / 467.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002385/0.3315, allocations: 0.5446 MB / 468.3 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007661/0.3392, allocations: 2.664 MB / 471 MB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002909/0.3395, allocations: 320.5 kB / 471.3 MB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001096/0.3406, allocations: 444.2 kB / 471.7 MB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01417/0.3547, allocations: 6.307 MB / 478 MB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.016e-05/0.3548, allocations: 0 / 478 MB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005828/0.3554, allocations: 172 kB / 478.2 MB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002226/0.3556, allocations: 212.4 kB / 478.4 MB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/0.3686, allocations: 5.549 MB / 483.9 MB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04302/0.4116, allocations: 18.59 MB / 0.4907 GB, free: 6.738 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007806/0.4194, allocations: 4.35 MB / 0.495 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005026/0.4244, allocations: 3.354 MB / 0.4983 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.4246, allocations: 38.81 kB / 0.4983 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/0.4247, allocations: 81.94 kB / 0.4984 GB, free: 14.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=358): time 5.139e-06/0.4247, allocations: 0 / 0.4984 GB, free: 14.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=358): time 0.01158/0.4363, allocations: 6.443 MB / 0.5047 GB, free: 8.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001868/0.4365, allocations: 299.8 kB / 0.505 GB, free: 7.895 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00558/0.4421, allocations: 3.209 MB / 0.5081 GB, free: 4.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007128/0.4428, allocations: 105.6 kB / 0.5082 GB, free: 4.551 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001525/0.4443, allocations: 1.715 MB / 0.5099 GB, free: 2.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001649/0.4459, allocations: 1.325 MB / 0.5112 GB, free: 1.484 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/0.4471, allocations: 0.642 MB / 0.5118 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.4473, allocations: 309.1 kB / 0.5121 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003464/0.4507, allocations: 2.123 MB / 0.5142 GB, free: 14.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003647/0.4544, allocations: 2.459 MB / 0.5166 GB, free: 11.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01714/0.4715, allocations: 9.163 MB / 0.5255 GB, free: 2.691 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.4715, allocations: 0 / 0.5255 GB, free: 2.691 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.01027/0.4818, allocations: 5.603 MB / 0.531 GB, free: 13.06 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.4818, allocations: 7.938 kB / 0.531 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.4818, allocations: 4 kB / 0.531 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.4829, allocations: 323.2 kB / 0.5313 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003614/0.4865, allocations: 0.9166 MB / 0.5322 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008351/0.4948, allocations: 7.846 MB / 0.5399 GB, free: 3.402 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003746/0.4986, allocations: 405.2 kB / 0.5402 GB, free: 3.004 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007487/0.4993, allocations: 108 kB / 0.5403 GB, free: 2.898 MB / 462.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.004489/0.5038, allocations: 1.407 MB / 0.5417 GB, free: 1.48 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001835/0.5057, allocations: 353.9 kB / 0.5421 GB, free: 1.133 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.5067, allocations: 451.6 kB / 0.5425 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-05/0.5068, allocations: 32 kB / 0.5425 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.864e-05/0.5068, allocations: 4 kB / 0.5425 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.991e-05/0.5068, allocations: 19.92 kB / 0.5425 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2984/0.8053, allocations: 11.98 MB / 0.5542 GB, free: 112.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/0.8053, allocations: 14.75 kB / 0.5543 GB, free: 112.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003059/0.8083, allocations: 0.8109 MB / 0.5551 GB, free: 112.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006322/0.809, allocations: 289.1 kB / 0.5553 GB, free: 112.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002867/0.8093, allocations: 129 kB / 0.5555 GB, free: 112 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005219/0.8145, allocations: 11.04 MB / 0.5662 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.909e-06/0.8145, allocations: 20.66 kB / 0.5662 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009126/0.8236, allocations: 7.139 MB / 0.5732 GB, free: 95.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001585/0.8252, allocations: 0.5615 MB / 0.5738 GB, free: 94.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007879/0.826, allocations: 128 kB / 0.5739 GB, free: 94.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002709/0.8287, allocations: 407.6 kB / 0.5743 GB, free: 94.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004591/0.8292, allocations: 289.6 kB / 0.5746 GB, free: 93.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002495/0.8294, allocations: 116 kB / 0.5747 GB, free: 93.81 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002641/0.8321, allocations: 2.279 MB / 0.5769 GB, free: 91.52 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8321, allocations: 0 / 0.5769 GB, free: 91.52 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003615/0.8357, allocations: 1.336 MB / 0.5782 GB, free: 90.27 MB / 462.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.0005418/0.8362, allocations: 297.3 kB / 0.5785 GB, free: 89.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005886/0.8421, allocations: 4.95 MB / 0.5833 GB, free: 84.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-05/0.8421, allocations: 6.562 kB / 0.5833 GB, free: 84.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003771/0.8459, allocations: 3.232 MB / 0.5865 GB, free: 81.63 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004027/0.8499, allocations: 0.8105 MB / 0.5873 GB, free: 80.83 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01838/0.8683, allocations: 12.69 MB / 0.5997 GB, free: 68.03 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002675/0.871, allocations: 3.218 MB / 0.6028 GB, free: 64.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003577/0.8745, allocations: 1.285 MB / 0.6041 GB, free: 63.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008446/0.8754, allocations: 255.3 kB / 0.6043 GB, free: 63.23 MB / 462.1 MB Notification: Performance of SimCode: time 1.011e-06/0.8754, allocations: 0 / 0.6043 GB, free: 63.23 MB / 462.1 MB Notification: Performance of Templates: time 0.07507/0.9505, allocations: 54.65 MB / 0.6577 GB, free: 9.219 MB / 462.1 MB 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]