Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001714/0.001714, allocations: 109.5 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002148/0.002148, allocations: 211.4 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 230.2 MB / 256.8 MB, free: 8.613 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.89 kB / 376.9 MB, free: 3.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2604, allocations: 53.32 MB / 430.2 MB, free: 7.602 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.005581/0.2659, allocations: 3.621 MB / 433.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002569/0.2685, allocations: 0.8959 MB / 434.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.2688, allocations: 8 kB / 434.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.269, allocations: 75.22 kB / 434.8 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004546/0.2695, allocations: 150.7 kB / 435 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004744/0.27, allocations: 195.7 kB / 435.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007091/0.2707, allocations: 0.6155 MB / 435.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/0.271, allocations: 160.8 kB / 435.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002961/0.2713, allocations: 247.2 kB / 436.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.2717, allocations: 290.8 kB / 436.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.239e-05/0.2718, allocations: 56 kB / 436.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-05/0.2719, allocations: 56 kB / 436.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.272, allocations: 135.6 kB / 436.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002863/0.2723, allocations: 270.7 kB / 437 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007476/0.273, allocations: 0.6237 MB / 437.6 MB, free: 204 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.273, allocations: 4 kB / 437.6 MB, free: 200 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.273, allocations: 0 / 437.6 MB, free: 200 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.2731, allocations: 0 / 437.6 MB, free: 200 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001647/0.2747, allocations: 0.855 MB / 438.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.2747, allocations: 8.031 kB / 438.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.2749, allocations: 64.55 kB / 438.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000559/0.2754, allocations: 342.5 kB / 438.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/0.2755, allocations: 33.38 kB / 438.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.927e-05/0.2755, allocations: 44.38 kB / 438.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009251/0.2765, allocations: 0.5139 MB / 439.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.2765, allocations: 0 / 439.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.887e-05/0.2765, allocations: 23.98 kB / 439.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.2766, allocations: 12 kB / 439.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006983/0.2773, allocations: 319.8 kB / 439.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/0.2797, allocations: 1.554 MB / 441.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000571/0.2803, allocations: 190.5 kB / 441.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.2805, allocations: 84.81 kB / 441.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.2805, allocations: 8 kB / 441.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000458/0.281, allocations: 225.5 kB / 441.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.673e-06/0.281, allocations: 0 / 441.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.00173/0.2827, allocations: 0.7605 MB / 442.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001958/0.2829, allocations: 316.4 kB / 442.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000461/0.2834, allocations: 310.9 kB / 443.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.2834, allocations: 33.7 kB / 443.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.2837, allocations: 284.1 kB / 443.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.2838, allocations: 91.22 kB / 443.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.284, allocations: 82.02 kB / 443.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.2842, allocations: 338.8 kB / 444 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.2844, allocations: 96.69 kB / 444.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000494/0.2849, allocations: 261.5 kB / 444.4 MB, free: 8.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007461/0.2857, allocations: 339.6 kB / 444.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2857, allocations: 0 / 444.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001273/0.287, allocations: 0.5297 MB / 445.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.389e-05/0.287, allocations: 37.64 kB / 445.3 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.287, allocations: 0 / 445.3 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006742/0.2877, allocations: 174.4 kB / 445.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.2879, allocations: 47.92 kB / 445.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004827/0.2927, allocations: 4.933 MB / 450.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/0.2932, allocations: 67.64 kB / 450.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.2932, allocations: 16 kB / 450.5 MB, free: 2.227 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002747/0.2935, allocations: 177 kB / 450.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.295e-05/0.2935, allocations: 35.8 kB / 450.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.174e-05/0.2936, allocations: 43.02 kB / 450.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2936, allocations: 7.984 kB / 450.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.2936, allocations: 3.984 kB / 450.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2936, allocations: 0 / 450.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005085/0.2941, allocations: 421.2 kB / 451.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2942, allocations: 4 kB / 451.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.2943, allocations: 39.97 kB / 451.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003498/0.2947, allocations: 103.3 kB / 451.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.2947, allocations: 11.94 kB / 451.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004949/0.2997, allocations: 5.765 MB / 457.1 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2997, allocations: 0 / 457.1 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008989/0.3006, allocations: 361 kB / 457.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.3007, allocations: 108.9 kB / 457.6 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.221e-05/0.3007, allocations: 11.98 kB / 457.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.301, allocations: 27.98 kB / 457.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.3011, allocations: 35.95 kB / 457.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.3011, allocations: 11.98 kB / 457.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002755/0.3014, allocations: 214 kB / 457.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3014, allocations: 0 / 457.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006444/0.302, allocations: 151.7 kB / 458 MB, free: 10.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001863/0.3022, allocations: 119.2 kB / 458.1 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.3036, allocations: 0.6912 MB / 458.8 MB, free: 9.184 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3036, allocations: 0 / 458.8 MB, free: 9.184 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007556/0.3044, allocations: 0.565 MB / 459.4 MB, free: 8.566 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.3048, allocations: 64.69 kB / 459.4 MB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.3062, allocations: 0.7151 MB / 460.2 MB, free: 7.754 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.3067, allocations: 0.8156 MB / 461 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.3068, allocations: 31.42 kB / 461 MB, free: 6.879 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3068, allocations: 0 / 461 MB, free: 6.879 MB / 366.1 MB Notification: Performance of Templates: time 0.01498/0.3218, allocations: 10.54 MB / 471.5 MB, free: 12.34 MB / 382.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 480]