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.001327/0.001327, allocations: 107.6 kB / 21.25 MB, free: 0.5625 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.001408/0.001408, allocations: 218.3 kB / 24.55 MB, free: 3.82 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.509/1.509, allocations: 230.5 MB / 258.2 MB, free: 7.73 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="mat",numberOfIntervals=10000,variableFilter="time|currentSensor1.i|currentSensor2.i|integrator1.y|der1.y|integrator2.y|der2.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning") translateModel(Modelica.Electrical.Analog.Examples.DemonstrateLightning,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|currentSensor1.i|currentSensor2.i|integrator1.y|der1.y|integrator2.y|der2.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.327e-05/3.327e-05, allocations: 2.281 kB / 379 MB, free: 2.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemonstrateLightning): time 0.2802/0.2803, allocations: 2.701 MB / 381.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.2822, allocations: 0.866 MB / 382.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.2824, allocations: 11.38 kB / 382.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.2826, allocations: 55.16 kB / 382.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.283, allocations: 121.7 kB / 382.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004542/0.2834, allocations: 225.7 kB / 383 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008175/0.2842, allocations: 0.7371 MB / 383.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.2845, allocations: 71.47 kB / 383.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003663/0.2849, allocations: 268.1 kB / 384.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.2852, allocations: 200.5 kB / 384.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.971e-05/0.2853, allocations: 45.84 kB / 384.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.2854, allocations: 47.41 kB / 384.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006829/0.2861, allocations: 0.7687 MB / 385.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003007/0.2864, allocations: 445.5 kB / 385.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.058e-05/0.2864, allocations: 30.72 kB / 385.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.594e-05/0.2865, allocations: 18.2 kB / 385.6 MB, free: 12.16 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 (58) * Number of variables: 58 (58) Notification: Performance of [SIM] Bindings: time 0.001834/0.2884, allocations: 1.799 MB / 387.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004039/0.2888, allocations: 292.8 kB / 387.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0009132/0.2897, allocations: 0.9092 MB / 388.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000563/0.2902, allocations: 368.3 kB / 389 MB, free: 10.04 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002409/0.2926, allocations: 1.437 MB / 390.4 MB, free: 9.227 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004494/0.2931, allocations: 285.8 kB / 390.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000123/0.2932, allocations: 118 kB / 390.8 MB, free: 8.969 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003971/0.2936, allocations: 281.9 kB / 391.1 MB, free: 8.746 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001431/0.2938, allocations: 73.39 kB / 391.2 MB, free: 8.703 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.000365/0.2941, allocations: 249.1 kB / 391.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002089/0.2962, allocations: 1.55 MB / 393 MB, free: 7.625 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001057/0.2973, allocations: 0.8891 MB / 393.8 MB, free: 7.184 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001348/0.2986, allocations: 0.9264 MB / 394.8 MB, free: 6.652 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001317/0.2999, allocations: 1.277 MB / 396 MB, free: 6.008 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.42e-05/0.3, allocations: 35.5 kB / 396.1 MB, free: 5.98 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001725/0.3002, allocations: 225.9 kB / 396.3 MB, free: 5.859 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002438/0.3026, allocations: 1.633 MB / 397.9 MB, free: 5.5 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0004239/0.303, allocations: 313.2 kB / 398.2 MB, free: 5.371 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.497e-06/0.303, allocations: 1.031 kB / 398.2 MB, free: 5.371 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0006496/0.3037, allocations: 0.5746 MB / 398.8 MB, free: 4.949 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.434e-06/0.3037, allocations: 8.656 kB / 398.8 MB, free: 4.941 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.702e-05/0.3037, allocations: 29.16 kB / 398.8 MB, free: 4.922 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.361e-05/0.3037, allocations: 10.16 kB / 398.9 MB, free: 4.914 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.002555/0.3063, allocations: 2.175 MB / 401 MB, free: 3.734 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.002108/0.3084, allocations: 2.425 MB / 403.5 MB, free: 1.594 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 2 * Number of algebraic event partitions: ......... 3 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (2) {integrator1.y, integrator2.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {$SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 30 (scalar:30, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 54 (scalar:54, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 6.881e-05/0.3085, allocations: 45.94 kB / 403.5 MB, free: 1.555 MB / 302.1 MB Notification: Performance of SimCode: time 0.001844/0.3103, allocations: 1.638 MB / 405.1 MB, free: 280 kB / 302.1 MB Notification: Performance of Templates: time 0.01321/0.3235, allocations: 6.834 MB / 412 MB, free: 11.4 MB / 318.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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.045552918978501] Failed to read output from testmodel.py, exit status != 0: ['time', 'currentSensor1.i', 'currentSensor2.i', 'integrator1.y', 'der1.y', 'integrator2.y', 'der2.y'] 0.3333104669582099 0.347868296 0.05823450300000001 Calling exit ...