Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning.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.001383/0.001383, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.001577/0.001577, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.533/1.533, allocations: 230.2 MB / 255.1 MB, free: 15.26 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.DemonstrateLightning,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning") translateModel(Modelica.Electrical.Analog.Examples.DemonstrateLightning,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 67.88 kB / 374.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1026, allocations: 53.32 MB / 427.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemonstrateLightning): time 0.004466/0.1071, allocations: 2.901 MB / 430.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.1087, allocations: 0.904 MB / 431.7 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.1088, allocations: 4 kB / 431.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.109, allocations: 47.45 kB / 431.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.1093, allocations: 131 kB / 431.8 MB, free: 472 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.1097, allocations: 231.6 kB / 432.1 MB, free: 240 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1809/0.2905, allocations: 0.5235 MB / 432.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.2908, allocations: 77.64 kB / 432.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.2911, allocations: 206.6 kB / 432.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.2914, allocations: 226.2 kB / 433.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.834e-05/0.2915, allocations: 46.31 kB / 433.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.091e-05/0.2916, allocations: 47.91 kB / 433.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.66e-05/0.2916, allocations: 93.44 kB / 433.3 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.2918, allocations: 208.1 kB / 433.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004679/0.2923, allocations: 0.4909 MB / 434 MB, free: 8.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2923, allocations: 0.9688 kB / 434 MB, free: 8.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2923, allocations: 0 / 434 MB, free: 8.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.2923, allocations: 2.031 kB / 434 MB, free: 8.113 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.001534/0.2938, allocations: 0.7579 MB / 434.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.2939, allocations: 12.16 kB / 434.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.294, allocations: 39.48 kB / 434.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.2944, allocations: 332.7 kB / 435.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.994e-05/0.2945, allocations: 80.41 kB / 435.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.762e-05/0.2946, allocations: 28.16 kB / 435.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004303/0.295, allocations: 288.3 kB / 435.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.295, allocations: 9.984 kB / 435.5 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.295, allocations: 9.656 kB / 435.5 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.295, allocations: 5.531 kB / 435.5 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.2954, allocations: 164.3 kB / 435.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002743/0.2981, allocations: 1.463 MB / 437.1 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.2983, allocations: 101 kB / 437.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.2985, allocations: 51.39 kB / 437.3 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.2985, allocations: 5.062 kB / 437.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.2985, allocations: 39.92 kB / 437.3 MB, free: 6.312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.2985, allocations: 1.156 kB / 437.3 MB, free: 6.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003248/0.3018, allocations: 1.083 MB / 438.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.3018, allocations: 104.1 kB / 438.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.3022, allocations: 329.4 kB / 438.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.3022, allocations: 31.58 kB / 438.9 MB, free: 5.477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.3023, allocations: 206.3 kB / 439.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.3023, allocations: 55.56 kB / 439.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.3025, allocations: 74.64 kB / 439.2 MB, free: 5.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.644e-05/0.3026, allocations: 336.6 kB / 439.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.3029, allocations: 155.4 kB / 439.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/0.3033, allocations: 247.6 kB / 439.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006152/0.3039, allocations: 348.7 kB / 440.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3039, allocations: 3 kB / 440.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.01144/0.3154, allocations: 1.313 MB / 441.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.3154, allocations: 6.922 kB / 441.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.3154, allocations: 3.312 kB / 441.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01493/0.3303, allocations: 1.151 MB / 442.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007023/0.3311, allocations: 65.92 kB / 442.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01552/0.3466, allocations: 5.351 MB / 448.1 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009082/0.3475, allocations: 32.41 kB / 448.2 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-05/0.3476, allocations: 25.11 kB / 448.2 MB, free: 364 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (integrator2.local_reset,integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,1), (4,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002605/0.3478, allocations: 144.3 kB / 448.3 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.348, allocations: 32.91 kB / 448.4 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.013e-05/0.348, allocations: 29.61 kB / 448.4 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.348, allocations: 1.438 kB / 448.4 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.348, allocations: 1.469 kB / 448.4 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.348, allocations: 3.609 kB / 448.4 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.3499, allocations: 0.7509 MB / 449.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.3499, allocations: 5.312 kB / 449.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000544/0.3505, allocations: 48.52 kB / 449.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.3505, allocations: 0.8438 kB / 449.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/0.3505, allocations: 14.02 kB / 449.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3505, allocations: 1.25 kB / 449.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3505, allocations: 0.6094 kB / 449.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.3519, allocations: 0.5159 MB / 449.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.3521, allocations: 107.3 kB / 449.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.087e-05/0.3522, allocations: 12.58 kB / 449.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006046/0.3528, allocations: 23.73 kB / 449.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.963e-05/0.3529, allocations: 22.67 kB / 449.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.3529, allocations: 8.5 kB / 449.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004145/0.3533, allocations: 223 kB / 450.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3533, allocations: 3.938 kB / 450.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00103/0.3544, allocations: 98.91 kB / 450.2 MB, free: 15.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (integrator2.y,integrator1.y) * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001851/0.3545, allocations: 102.8 kB / 450.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003096/0.3576, allocations: 0.7257 MB / 451.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3576, allocations: 4.125 kB / 451.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003983/0.358, allocations: 95.38 kB / 451.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009628/0.359, allocations: 71.7 kB / 451.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.361, allocations: 0.6306 MB / 451.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006217/0.3617, allocations: 0.7785 MB / 452.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.3619, allocations: 38.38 kB / 452.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3619, allocations: 0 / 452.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of Templates: time 0.01325/0.3751, allocations: 6.717 MB / 459.4 MB, free: 10.8 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.616845994023606] Failed to read output from testmodel.py, exit status != 0: 0.38376589491963387 0.396805505 0.10162196500000001 Calling exit ...