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.001302/0.001302, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.001483/0.001483, allocations: 214.9 kB / 23 MB, free: 5.574 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.459/1.459, allocations: 230.2 MB / 256.2 MB, free: 8.523 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.001987/0.001987, allocations: 67.89 kB / 376.5 MB, free: 3.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2858, allocations: 53.32 MB / 429.8 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemonstrateLightning): time 0.004474/0.2903, allocations: 2.921 MB / 432.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.292, allocations: 0.9001 MB / 433.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.2921, allocations: 4 kB / 433.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.2923, allocations: 51.44 kB / 433.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.2927, allocations: 127.1 kB / 433.8 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.293, allocations: 223.6 kB / 434 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005734/0.2936, allocations: 0.5412 MB / 434.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.2938, allocations: 79.11 kB / 434.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.294, allocations: 199.3 kB / 434.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.2944, allocations: 227.1 kB / 435.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.659e-05/0.2944, allocations: 44 kB / 435.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.801e-05/0.2945, allocations: 48 kB / 435.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.2946, allocations: 103.7 kB / 435.3 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.2948, allocations: 203 kB / 435.5 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005599/0.2954, allocations: 499.4 kB / 435.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.2954, allocations: 4 kB / 435.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2954, allocations: 4 kB / 435.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.2954, allocations: 0 / 435.9 MB, free: 1.359 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.001784/0.2972, allocations: 0.7518 MB / 436.7 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.2972, allocations: 8.031 kB / 436.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.2973, allocations: 44.7 kB / 436.7 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005301/0.2978, allocations: 335.6 kB / 437.1 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.2979, allocations: 76.52 kB / 437.2 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-05/0.298, allocations: 32.33 kB / 437.2 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005245/0.2985, allocations: 291.8 kB / 437.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.2986, allocations: 4 kB / 437.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.2986, allocations: 8 kB / 437.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.2986, allocations: 11.94 kB / 437.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000354/0.2989, allocations: 165.2 kB / 437.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003024/0.302, allocations: 1.469 MB / 439.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.3022, allocations: 101.2 kB / 439.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.3023, allocations: 49.81 kB / 439.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.3023, allocations: 0 / 439.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.3024, allocations: 38.56 kB / 439.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.3024, allocations: 0 / 439.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003356/0.3057, allocations: 1.08 MB / 440.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.945e-05/0.3058, allocations: 114.7 kB / 440.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003849/0.3062, allocations: 320.5 kB / 440.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.3062, allocations: 33.7 kB / 440.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.3064, allocations: 208.5 kB / 441 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.3065, allocations: 59.45 kB / 441.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.3066, allocations: 77.64 kB / 441.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.3068, allocations: 334.8 kB / 441.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.3071, allocations: 152.2 kB / 441.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/0.3076, allocations: 251.8 kB / 441.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006715/0.3082, allocations: 358 kB / 442.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3082, allocations: 0 / 442.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.01008/0.3183, allocations: 1.306 MB / 443.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.3184, allocations: 8 kB / 443.6 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3184, allocations: 4.062 kB / 443.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01158/0.3299, allocations: 1.153 MB / 444.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004803/0.3304, allocations: 71.86 kB / 444.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/0.3428, allocations: 5.338 MB / 450.1 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006297/0.3434, allocations: 43.92 kB / 450.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.723e-05/0.3435, allocations: 19.97 kB / 450.2 MB, free: 2.34 MB / 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.0002358/0.3437, allocations: 145.8 kB / 450.3 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.143e-05/0.3438, allocations: 27.81 kB / 450.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.432e-05/0.3439, allocations: 26.61 kB / 450.4 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3439, allocations: 0 / 450.4 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.3439, allocations: 4 kB / 450.4 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3439, allocations: 11.92 kB / 450.4 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.3452, allocations: 0.7474 MB / 451.2 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3452, allocations: 0 / 451.2 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.3456, allocations: 43.95 kB / 451.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3456, allocations: 0 / 451.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.3457, allocations: 11.92 kB / 451.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.3457, allocations: 11.88 kB / 451.2 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3457, allocations: 3.984 kB / 451.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008971/0.3466, allocations: 0.5141 MB / 451.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.004e-05/0.3467, allocations: 104.9 kB / 451.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.3467, allocations: 7.938 kB / 451.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004137/0.3471, allocations: 23.98 kB / 451.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/0.3472, allocations: 15.95 kB / 451.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.3472, allocations: 11.98 kB / 451.9 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000263/0.3475, allocations: 223.1 kB / 452.1 MB, free: 324 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3475, allocations: 4.062 kB / 452.1 MB, free: 320 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006246/0.3481, allocations: 100 kB / 452.2 MB, free: 220 kB / 350.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.0001489/0.3483, allocations: 99.19 kB / 452.3 MB, free: 108 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002244/0.3505, allocations: 0.735 MB / 453 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3505, allocations: 0 / 453 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.3508, allocations: 91.88 kB / 453.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006156/0.3514, allocations: 83.75 kB / 453.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.3529, allocations: 0.6134 MB / 453.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.3533, allocations: 0.7756 MB / 454.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001904/0.3535, allocations: 34.58 kB / 454.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.3536, allocations: 31.41 kB / 454.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3536, allocations: 0 / 454.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of Templates: time 0.01551/0.3691, allocations: 8.868 MB / 463.5 MB, free: 4.84 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 sys.exit(0), Time elapsed: 4.980263506993651]