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.LightningSegmentedTransmissionLine.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.001298/0.001298, allocations: 112.6 kB / 21.18 MB, free: 0.7422 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.001386/0.001386, allocations: 212.2 kB / 24.48 MB, free: 4.191 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.401/1.401, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.LightningSegmentedTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine") [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.001992/0.001992, allocations: 71.83 kB / 378.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2329, allocations: 53.31 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine): time 0.006137/0.2391, allocations: 4.179 MB / 436.3 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.2412, allocations: 1.208 MB / 437.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/0.2414, allocations: 15.94 kB / 437.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000397/0.2418, allocations: 123 kB / 437.6 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005835/0.2423, allocations: 282.2 kB / 437.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.2429, allocations: 263.5 kB / 438.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.04581/0.2887, allocations: 46.62 MB / 484.8 MB, free: 2.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01818/0.3069, allocations: 9.812 MB / 494.6 MB, free: 8.574 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02268/0.3296, allocations: 16.12 MB / 0.4987 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03263/0.3622, allocations: 18.23 MB / 0.5165 GB, free: 6.121 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009625/0.3718, allocations: 3.984 MB / 0.5204 GB, free: 2.137 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01256/0.3844, allocations: 3.992 MB / 0.5243 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01354/0.3979, allocations: 9.44 MB / 0.5335 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3916/0.7896, allocations: 17.61 MB / 0.5507 GB, free: 38.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03781/0.8274, allocations: 50.61 MB / 0.6001 GB, free: 16.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.8274, allocations: 1.281 kB / 0.6002 GB, free: 16.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.8274, allocations: 0 / 0.6002 GB, free: 16.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001418/0.8288, allocations: 0 / 0.6002 GB, free: 16.83 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6477 * Number of variables: 6477 Notification: Performance of Generate backend data structure: time 0.0976/0.9264, allocations: 35.49 MB / 0.6348 GB, free: 6.652 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.9265, allocations: 8.031 kB / 0.6348 GB, free: 6.645 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/0.9387, allocations: 3.158 MB / 0.6379 GB, free: 3.469 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04236/0.981, allocations: 15.46 MB / 0.653 GB, free: 4.762 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002238/0.9833, allocations: 1.86 MB / 0.6548 GB, free: 2.895 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009446/0.9927, allocations: 2.57 MB / 0.6573 GB, free: 332 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09141/1.084, allocations: 36.21 MB / 0.6927 GB, free: 12.07 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009489/1.085, allocations: 0 / 0.6927 GB, free: 12.07 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007744/1.093, allocations: 1.004 MB / 0.6937 GB, free: 11.07 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001274/1.094, allocations: 1.19 MB / 0.6948 GB, free: 9.875 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08388/1.178, allocations: 35.36 MB / 0.7294 GB, free: 6.488 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4689/1.647, allocations: 121 MB / 0.8476 GB, free: 101.1 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2468/1.894, allocations: 39.19 MB / 0.8858 GB, free: 61.27 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03999/1.934, allocations: 38.86 MB / 0.9238 GB, free: 22.01 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001854/1.936, allocations: 225.4 kB / 0.924 GB, free: 21.79 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003137/1.936, allocations: 366.7 kB / 0.9244 GB, free: 21.42 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=2220): time 2.643e-05/1.936, allocations: 0 / 0.9244 GB, free: 21.42 MB / 0.5607 GB Notification: Performance of matching and sorting (n=2222): time 0.3417/2.278, allocations: 65.85 MB / 0.9887 GB, free: 190 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/2.278, allocations: 278.8 kB / 0.9889 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02944/2.307, allocations: 19.35 MB / 1.008 GB, free: 184.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.003917/2.311, allocations: 0.4991 MB / 1.008 GB, free: 184.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005495/2.317, allocations: 10.18 MB / 1.018 GB, free: 177.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.006528/2.323, allocations: 8.246 MB / 1.026 GB, free: 170.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00688/2.33, allocations: 4.005 MB / 1.03 GB, free: 168.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.551e-05/2.33, allocations: 308.7 kB / 1.031 GB, free: 168.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01853/2.349, allocations: 13.95 MB / 1.044 GB, free: 162.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02056/2.369, allocations: 15.61 MB / 1.059 GB, free: 146.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03706/2.406, allocations: 28.79 MB / 1.087 GB, free: 118 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.501e-05/2.406, allocations: 0 / 1.087 GB, free: 118 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3032) (initialization): time 0.05769/2.464, allocations: 35.23 MB / 1.122 GB, free: 82.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.567e-05/2.464, allocations: 7.938 kB / 1.122 GB, free: 82.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.797e-05/2.464, allocations: 4 kB / 1.122 GB, free: 82.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008558/2.473, allocations: 0.9034 MB / 1.123 GB, free: 81.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02343/2.496, allocations: 7.225 MB / 1.13 GB, free: 74.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00716/2.503, allocations: 4.944 MB / 1.135 GB, free: 69.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01756/2.521, allocations: 1.241 MB / 1.136 GB, free: 67.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002083/2.523, allocations: 0.6523 MB / 1.137 GB, free: 67.17 MB / 0.5919 GB 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 (3023): * Single equations (assignments): 3021 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,1)} Notification: Performance of prepare postOptimizeDAE: time 0.01335/2.536, allocations: 8.452 MB / 1.145 GB, free: 58.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005518/2.542, allocations: 2.023 MB / 1.147 GB, free: 56.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00689/2.549, allocations: 2.672 MB / 1.149 GB, free: 53.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000276/2.549, allocations: 103.6 kB / 1.149 GB, free: 53.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.43e-05/2.549, allocations: 128 / 1.149 GB, free: 53.88 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008142/2.557, allocations: 2.555 MB / 1.152 GB, free: 51.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00794/2.565, allocations: 0.652 MB / 1.153 GB, free: 50.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02183/2.587, allocations: 2.673 MB / 1.155 GB, free: 47.97 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003889/2.591, allocations: 1.164 MB / 1.156 GB, free: 46.8 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05499/2.646, allocations: 31.97 MB / 1.188 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2774/2.923, allocations: 44.95 MB / 1.231 GB, free: 171.5 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01612/2.939, allocations: 13.3 MB / 1.244 GB, free: 166.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0201/2.959, allocations: 13.68 MB / 1.258 GB, free: 162.1 MB / 0.5919 GB Notification: Performance of Backend: time 6.41e-07/2.959, allocations: 0 / 1.258 GB, free: 162.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.04698/3.006, allocations: 18.27 MB / 1.276 GB, free: 145.7 MB / 0.5919 GB Notification: Performance of SimCode: time 0.1106/3.117, allocations: 70.06 MB / 1.344 GB, free: 75.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.9076/4.025, allocations: 380.1 MB / 1.715 GB, free: 175.2 MB / 0.6075 GB " [Timeout remaining time 656] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 25.826082678046077] Failed to read output from testmodel.py, exit status != 0: 4.03296928294003 4.041517306 3.211783664 Calling exit ...