Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemonstrateLightning.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 103.6 kB / 21.25 MB, free: 0.5664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 212.5 kB / 24.55 MB, free: 3.824 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.62/1.62, allocations: 230.6 MB / 258.3 MB, free: 7.781 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.DemonstrateLightning") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.532e-05, allocations: 5.516 kB / 379.1 MB, free: 2.465 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemonstrateLightning): time 0.1809/0.181, allocations: 2.693 MB / 381.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.1826, allocations: 0.869 MB / 382.6 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.1828, allocations: 8.938 kB / 382.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.183, allocations: 54.92 kB / 382.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.1833, allocations: 126.8 kB / 382.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.1837, allocations: 222.4 kB / 383 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006717/0.1843, allocations: 0.7337 MB / 383.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.1845, allocations: 67 kB / 383.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.1848, allocations: 276.3 kB / 384.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.1851, allocations: 196.9 kB / 384.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.529e-05/0.1852, allocations: 47.78 kB / 384.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.437e-05/0.1852, allocations: 48.41 kB / 384.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005475/0.1858, allocations: 0.7699 MB / 385.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001936/0.186, allocations: 445.7 kB / 385.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.487e-05/0.1861, allocations: 31.5 kB / 385.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.02e-05/0.1861, allocations: 14.89 kB / 385.6 MB, free: 11.98 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.001396/0.1875, allocations: 1.799 MB / 387.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003416/0.1878, allocations: 297.9 kB / 387.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0007314/0.1886, allocations: 0.9108 MB / 388.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004792/0.1891, allocations: 372.2 kB / 389 MB, free: 9.914 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001758/0.1908, allocations: 1.417 MB / 390.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003253/0.1911, allocations: 293 kB / 390.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001143/0.1913, allocations: 117.1 kB / 390.8 MB, free: 8.898 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003361/0.1916, allocations: 285 kB / 391.1 MB, free: 8.676 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001251/0.1917, allocations: 72.56 kB / 391.2 MB, free: 8.637 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002825/0.192, allocations: 263.7 kB / 391.4 MB, free: 8.445 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.00213/0.1941, allocations: 1.55 MB / 393 MB, free: 7.574 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001149/0.1953, allocations: 0.8856 MB / 393.9 MB, free: 7.137 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001535/0.1968, allocations: 0.9339 MB / 394.8 MB, free: 6.602 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001346/0.1982, allocations: 1.276 MB / 396.1 MB, free: 5.957 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.318e-05/0.1982, allocations: 30.97 kB / 396.1 MB, free: 5.934 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.000173/0.1984, allocations: 226.9 kB / 396.3 MB, free: 5.812 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002325/0.2007, allocations: 1.629 MB / 397.9 MB, free: 5.453 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0003933/0.2011, allocations: 320.1 kB / 398.3 MB, free: 5.312 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.594e-06/0.2011, allocations: 1.312 kB / 398.3 MB, free: 5.312 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0007683/0.2019, allocations: 0.5851 MB / 398.8 MB, free: 4.91 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.03e-05/0.2019, allocations: 2.156 kB / 398.8 MB, free: 4.91 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.092e-05/0.2019, allocations: 24.91 kB / 398.9 MB, free: 4.895 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.838e-05/0.2019, allocations: 9.375 kB / 398.9 MB, free: 4.887 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.002397/0.2043, allocations: 2.166 MB / 401 MB, free: 3.738 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.001753/0.2061, allocations: 2.427 MB / 403.5 MB, free: 1.602 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 5.641e-05/0.2062, allocations: 38.67 kB / 403.5 MB, free: 1.566 MB / 302.1 MB Notification: Performance of SimCode: time 0.001751/0.2079, allocations: 1.642 MB / 405.2 MB, free: 288 kB / 302.1 MB Notification: Performance of Templates: time 0.01208/0.22, allocations: 6.845 MB / 412 MB, free: 11.48 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemonstrateLightning.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemonstrateLightning.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemonstrateLightning.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemonstrateLightning.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemonstrateLightning.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemonstrateLightning -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemonstrateLightning.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.138155801978428] Failed to read output from testmodel.py, exit status != 0: ['time', 'currentSensor1.i', 'currentSensor2.i', 'integrator1.y', 'der1.y', 'integrator2.y', 'der2.y'] 0.2282897029654123 0.242268471 0.053150359 Calling exit ...