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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001684/0.001684, allocations: 118.6 kB / 18.5 MB, free: 4.543 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.001521/0.001521, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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.001903/0.001903, allocations: 63.89 kB / 373.9 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.131, allocations: 53.32 MB / 427.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.007304/0.1383, allocations: 3.621 MB / 430.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2646/0.403, allocations: 0.8945 MB / 431.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005268/0.4035, allocations: 6 kB / 431.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.4038, allocations: 75.5 kB / 431.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005111/0.4043, allocations: 149.5 kB / 431.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005656/0.4049, allocations: 194.3 kB / 432.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007803/0.4057, allocations: 0.6194 MB / 432.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003194/0.406, allocations: 169.1 kB / 432.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.4063, allocations: 238.6 kB / 433.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.4066, allocations: 289.9 kB / 433.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.324e-05/0.4067, allocations: 60.5 kB / 433.5 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.855e-05/0.4067, allocations: 55.75 kB / 433.5 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.345e-05/0.4068, allocations: 128 kB / 433.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002379/0.4071, allocations: 276.6 kB / 433.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006118/0.4077, allocations: 0.6136 MB / 434.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4077, allocations: 2.188 kB / 434.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4077, allocations: 0 / 434.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.4077, allocations: 0 / 434.5 MB, free: 7.781 MB / 350.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.001635/0.4093, allocations: 0.8662 MB / 435.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.4094, allocations: 9.297 kB / 435.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.4095, allocations: 58.05 kB / 435.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005263/0.41, allocations: 344.1 kB / 435.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.4101, allocations: 35.5 kB / 435.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-05/0.4102, allocations: 46.59 kB / 435.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009931/0.4111, allocations: 0.5132 MB / 436.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.4112, allocations: 1.844 kB / 436.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.077e-05/0.4112, allocations: 19.81 kB / 436.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.4112, allocations: 11.16 kB / 436.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007043/0.4119, allocations: 321.3 kB / 436.7 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.4143, allocations: 1.543 MB / 438.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005672/0.4149, allocations: 201.7 kB / 438.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.4151, allocations: 89.8 kB / 438.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.4151, allocations: 4.656 kB / 438.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004052/0.4155, allocations: 217.2 kB / 438.8 MB, free: 5.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.074e-06/0.4155, allocations: 0 / 438.8 MB, free: 5.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001561/0.4171, allocations: 0.7776 MB / 439.6 MB, free: 5.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/0.4172, allocations: 318.9 kB / 439.9 MB, free: 4.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.4176, allocations: 300.5 kB / 440.2 MB, free: 4.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.4176, allocations: 33.05 kB / 440.2 MB, free: 4.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.4177, allocations: 275.5 kB / 440.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.398e-05/0.4178, allocations: 93.64 kB / 440.6 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.418, allocations: 87.19 kB / 440.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.791e-05/0.418, allocations: 343 kB / 441 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/0.4183, allocations: 99.86 kB / 441.1 MB, free: 3.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.4186, allocations: 257.8 kB / 441.3 MB, free: 3.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005186/0.4191, allocations: 335.8 kB / 441.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4191, allocations: 1.156 kB / 441.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001126/0.4203, allocations: 0.5277 MB / 442.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/0.4203, allocations: 36.62 kB / 442.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.4203, allocations: 3.984 kB / 442.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006853/0.421, allocations: 169.2 kB / 442.4 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.4212, allocations: 50.38 kB / 442.4 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004479/0.4257, allocations: 4.942 MB / 447.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/0.4262, allocations: 57.92 kB / 447.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.4262, allocations: 16.39 kB / 447.5 MB, free: 14.34 MB / 366.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.0003228/0.4266, allocations: 171.3 kB / 447.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.422e-05/0.4267, allocations: 32.78 kB / 447.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.495e-05/0.4267, allocations: 37.92 kB / 447.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.4267, allocations: 6.938 kB / 447.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/0.4268, allocations: 2.188 kB / 447.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4268, allocations: 1.359 kB / 447.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006355/0.4274, allocations: 426.1 kB / 448.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4274, allocations: 0 / 448.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.4276, allocations: 37.36 kB / 448.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003578/0.4279, allocations: 102.5 kB / 448.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.428, allocations: 9.781 kB / 448.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005097/0.4331, allocations: 5.752 MB / 454 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4331, allocations: 0 / 454 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.4341, allocations: 360.1 kB / 454.4 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.4342, allocations: 116.5 kB / 454.5 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/0.4343, allocations: 7.781 kB / 454.5 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.4346, allocations: 33.89 kB / 454.5 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.4348, allocations: 51.62 kB / 454.6 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.4348, allocations: 8.594 kB / 454.6 MB, free: 7.641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003577/0.4351, allocations: 225.6 kB / 454.8 MB, free: 7.512 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4351, allocations: 0 / 454.8 MB, free: 7.512 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008952/0.436, allocations: 151.8 kB / 455 MB, free: 7.477 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.0002584/0.4363, allocations: 111.2 kB / 455.1 MB, free: 7.383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00178/0.4381, allocations: 0.6982 MB / 455.8 MB, free: 6.875 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4381, allocations: 6.188 kB / 455.8 MB, free: 6.871 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009141/0.439, allocations: 0.5792 MB / 456.3 MB, free: 6.375 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.4394, allocations: 58.5 kB / 456.4 MB, free: 6.355 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.4413, allocations: 0.6811 MB / 457.1 MB, free: 5.961 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006893/0.442, allocations: 0.8227 MB / 457.9 MB, free: 5.246 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000237/0.4423, allocations: 37.7 kB / 457.9 MB, free: 5.238 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.4424, allocations: 35.97 kB / 458 MB, free: 5.227 MB / 366.1 MB Notification: Performance of SimCode: time 1.363e-06/0.4424, allocations: 4 kB / 458 MB, free: 5.223 MB / 366.1 MB Notification: Performance of Templates: time 0.0181/0.4605, allocations: 6.03 MB / 464 MB, free: 3.637 MB / 366.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] [Calling sys.exit(0), Time elapsed: 5.088674806058407]