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.LightningLosslessTransmissionLine.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.001782/0.001782, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.002154/0.002154, allocations: 217.4 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.488/1.488, 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.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") [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.002034/0.002034, allocations: 75.77 kB / 378.8 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2962, allocations: 53.31 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004437/0.3007, allocations: 2.871 MB / 435 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.3023, allocations: 0.8726 MB / 435.8 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.3025, allocations: 4 kB / 435.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.3027, allocations: 39.58 kB / 435.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.303, allocations: 123.1 kB / 436 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.3034, allocations: 199.7 kB / 436.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005533/0.304, allocations: 482.3 kB / 436.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.3042, allocations: 97.56 kB / 436.7 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/0.3045, allocations: 195.4 kB / 436.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003353/0.3048, allocations: 219.1 kB / 437.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.398e-05/0.3049, allocations: 40 kB / 437.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.673e-05/0.305, allocations: 48 kB / 437.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.504e-05/0.3051, allocations: 91.67 kB / 437.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.3052, allocations: 187.2 kB / 437.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005451/0.3058, allocations: 459.9 kB / 438 MB, free: 1.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3058, allocations: 0 / 438 MB, free: 1.496 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3058, allocations: 0 / 438 MB, free: 1.496 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3058, allocations: 0 / 438 MB, free: 1.496 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001562/0.3074, allocations: 0.6933 MB / 438.7 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3074, allocations: 12.03 kB / 438.7 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.3076, allocations: 48.69 kB / 438.7 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00052/0.3081, allocations: 303.7 kB / 439 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-05/0.3082, allocations: 50.69 kB / 439.1 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.606e-05/0.3083, allocations: 28.38 kB / 439.1 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005178/0.3088, allocations: 280.5 kB / 439.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3088, allocations: 0 / 439.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/0.3088, allocations: 12 kB / 439.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.3088, allocations: 4 kB / 439.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003669/0.3092, allocations: 161.7 kB / 439.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002467/0.3117, allocations: 1.045 MB / 440.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/0.312, allocations: 110.5 kB / 440.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.3122, allocations: 76.75 kB / 440.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.3122, allocations: 4 kB / 440.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.3123, allocations: 34.5 kB / 440.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.3123, allocations: 4 kB / 440.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001047/0.3133, allocations: 440.8 kB / 441.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.3134, allocations: 162.2 kB / 441.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.3138, allocations: 270.6 kB / 441.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.3138, allocations: 33.7 kB / 441.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.314, allocations: 180.3 kB / 441.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.314, allocations: 55.52 kB / 441.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.3141, allocations: 53.67 kB / 442 MB, free: 13.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.3143, allocations: 334.8 kB / 442.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.3145, allocations: 83.91 kB / 442.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.3148, allocations: 137.1 kB / 442.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.3151, allocations: 161.7 kB / 442.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3151, allocations: 0 / 442.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007772/0.3229, allocations: 0.8828 MB / 443.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.3229, allocations: 7.938 kB / 443.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3229, allocations: 0 / 443.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009343/0.3323, allocations: 0.8326 MB / 444.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.3324, allocations: 15.98 kB / 444.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009631/0.342, allocations: 4.9 MB / 449.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/0.3424, allocations: 27.83 kB / 449.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.3424, allocations: 7.984 kB / 449.3 MB, free: 5.457 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001966/0.3426, allocations: 141.9 kB / 449.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.3427, allocations: 27.86 kB / 449.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.957e-05/0.3427, allocations: 29.83 kB / 449.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3427, allocations: 0 / 449.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.3427, allocations: 0 / 449.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3427, allocations: 4 kB / 449.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.3437, allocations: 0.6139 MB / 450.2 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3437, allocations: 0 / 450.2 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.3439, allocations: 23.98 kB / 450.2 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001859/0.3441, allocations: 53.61 kB / 450.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.3441, allocations: 8.031 kB / 450.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002454/0.3465, allocations: 2.939 MB / 453.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3465, allocations: 4 kB / 453.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005591/0.3471, allocations: 320.8 kB / 453.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-05/0.3472, allocations: 100.9 kB / 453.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.3472, allocations: 11.92 kB / 453.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.3474, allocations: 8 kB / 453.6 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.995e-05/0.3475, allocations: 35.95 kB / 453.7 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.3475, allocations: 4 kB / 453.7 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002455/0.3478, allocations: 202 kB / 453.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3478, allocations: 0 / 453.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005957/0.3484, allocations: 96.08 kB / 453.9 MB, free: 468 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001627/0.3485, allocations: 99.25 kB / 454 MB, free: 360 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.3502, allocations: 0.5438 MB / 454.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.3502, allocations: 0 / 454.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004792/0.3507, allocations: 317.2 kB / 454.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.3511, allocations: 55.48 kB / 455 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.3522, allocations: 0.5307 MB / 455.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.3526, allocations: 0.7635 MB / 456.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.292e-05/0.3527, allocations: 21.95 kB / 456.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.43e-05/0.3528, allocations: 23.42 kB / 456.3 MB, free: 14 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3528, allocations: 0 / 456.3 MB, free: 14 MB / 366.1 MB Notification: Performance of Templates: time 0.01545/0.3683, allocations: 7.345 MB / 463.6 MB, free: 6.688 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.877996216062456] Failed to read output from testmodel.py, exit status != 0: 0.37729079416021705 0.39192961200000004 0.08279879000000001 Calling exit ...