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.001301/0.001301, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001411/0.001411, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.41/1.41, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.001923/0.001923, allocations: 63.89 kB / 378.8 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2289, allocations: 53.32 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004077/0.233, allocations: 2.858 MB / 435 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.2344, allocations: 0.8804 MB / 435.8 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.2345, allocations: 4 kB / 435.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.2346, allocations: 43.52 kB / 435.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002973/0.2349, allocations: 119.1 kB / 436 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.2353, allocations: 203.7 kB / 436.2 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004962/0.2358, allocations: 478.3 kB / 436.7 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.236, allocations: 89.62 kB / 436.7 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.2363, allocations: 195.3 kB / 436.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003339/0.2366, allocations: 215.2 kB / 437.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.47e-05/0.2367, allocations: 47.98 kB / 437.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.046e-05/0.2368, allocations: 47.94 kB / 437.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.861e-05/0.2369, allocations: 99.67 kB / 437.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.237, allocations: 183.1 kB / 437.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004846/0.2375, allocations: 460.3 kB / 438 MB, free: 1.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2375, allocations: 0 / 438 MB, free: 1.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2375, allocations: 0 / 438 MB, free: 1.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.2375, allocations: 0 / 438 MB, free: 1.488 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.001527/0.2391, allocations: 0.6934 MB / 438.7 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2391, allocations: 12.03 kB / 438.7 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.2393, allocations: 48.69 kB / 438.7 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.2397, allocations: 303.7 kB / 439 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.253e-05/0.2398, allocations: 54.62 kB / 439.1 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.2399, allocations: 24.38 kB / 439.1 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/0.2404, allocations: 280.5 kB / 439.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2404, allocations: 0 / 439.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.2404, allocations: 12 kB / 439.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2404, allocations: 4 kB / 439.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003634/0.2408, allocations: 165.6 kB / 439.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/0.2431, allocations: 1.041 MB / 440.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.2434, allocations: 110.5 kB / 440.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.2436, allocations: 84.75 kB / 440.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.2436, allocations: 0 / 440.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.2436, allocations: 34.56 kB / 440.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.2436, allocations: 0 / 440.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009872/0.2446, allocations: 437.5 kB / 441.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.724e-05/0.2447, allocations: 158.2 kB / 441.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.245, allocations: 270.6 kB / 441.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.2451, allocations: 29.7 kB / 441.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.2452, allocations: 184.3 kB / 441.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.2453, allocations: 59.52 kB / 441.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.2454, allocations: 53.61 kB / 442 MB, free: 13.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.2455, allocations: 330.8 kB / 442.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.2457, allocations: 83.97 kB / 442.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.2459, allocations: 141.1 kB / 442.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.2463, allocations: 164.9 kB / 442.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2463, allocations: 0 / 442.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007898/0.2542, allocations: 0.8849 MB / 443.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.2542, allocations: 11.94 kB / 443.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2542, allocations: 3.984 kB / 443.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009152/0.2634, allocations: 0.8287 MB / 444.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.2635, allocations: 15.98 kB / 444.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00942/0.2729, allocations: 4.892 MB / 449.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/0.2732, allocations: 36.2 kB / 449.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.2732, allocations: 7.984 kB / 449.4 MB, free: 5.441 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.0002032/0.2734, allocations: 137.8 kB / 449.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.277e-05/0.2735, allocations: 27.8 kB / 449.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.671e-05/0.2736, allocations: 25.83 kB / 449.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2736, allocations: 0 / 449.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2736, allocations: 0 / 449.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.396e-05/0.2737, allocations: 109 kB / 449.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.2737, allocations: 0 / 449.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.2739, allocations: 19.92 kB / 449.7 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.743e-05/0.274, allocations: 23.97 kB / 449.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005968/0.2746, allocations: 290.5 kB / 450 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000565/0.2751, allocations: 414.6 kB / 450.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001324/0.2753, allocations: 59.95 kB / 450.4 MB, free: 4.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002104/0.2755, allocations: 198 kB / 450.6 MB, free: 4.105 MB / 350.1 MB Notification: Performance of Backend: time 4.71e-07/0.2755, allocations: 0 / 450.6 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001774/0.2773, allocations: 0.5824 MB / 451.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of SimCode: time 0.001184/0.2784, allocations: 1.044 MB / 452.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of Templates: time 0.01325/0.2917, allocations: 7.693 MB / 460 MB, free: 10.75 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 -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.4941050270572305] Failed to read output from testmodel.py, exit status != 0: 0.2996343639679253 0.313250746 0.07280768700000001 Calling exit ...