Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 187.9 kB / 24.53 MB, free: 3.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 225.7 MB / 253.4 MB, free: 12.78 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.486e-05, allocations: 6.219 kB / 371.7 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.00517/0.005194, allocations: 2.671 MB / 374.4 MB, free: 6.551 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.006612, allocations: 0.6505 MB / 375.1 MB, free: 5.895 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/0.006802, allocations: 11.94 kB / 375.1 MB, free: 5.883 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.007064, allocations: 55.44 kB / 375.1 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.007343, allocations: 91.19 kB / 375.2 MB, free: 5.738 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.007755, allocations: 95.81 kB / 375.3 MB, free: 5.645 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006998/0.008455, allocations: 430.8 kB / 375.7 MB, free: 5.223 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003768/0.008832, allocations: 108.8 kB / 375.8 MB, free: 5.117 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003519/0.009184, allocations: 151.5 kB / 376 MB, free: 4.969 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003121/0.009496, allocations: 135.3 kB / 376.1 MB, free: 4.836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.864e-05/0.009574, allocations: 32 kB / 376.1 MB, free: 4.805 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.119e-05/0.009656, allocations: 35.94 kB / 376.2 MB, free: 4.77 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007835/0.01044, allocations: 0.6342 MB / 376.8 MB, free: 4.129 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003711/0.01081, allocations: 398.7 kB / 377.2 MB, free: 3.734 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.867e-05/0.01088, allocations: 36 kB / 377.2 MB, free: 3.699 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.15e-05/0.01094, allocations: 8 kB / 377.2 MB, free: 3.691 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: 79 (79) * Number of variables: 79 (79) Notification: Performance of [SIM] Bindings: time 0.002438/0.01338, allocations: 1.56 MB / 378.8 MB, free: 2 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003308/0.01371, allocations: 183.8 kB / 379 MB, free: 1.809 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001389/0.0151, allocations: 0.8277 MB / 379.8 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005171/0.01562, allocations: 208.2 kB / 380 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.2219/0.2375, allocations: 1.614 MB / 381.6 MB, free: 16.01 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000245/0.2378, allocations: 144.1 kB / 381.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001153/0.2379, allocations: 85.58 kB / 381.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003104/0.2382, allocations: 215.6 kB / 382.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001535/0.2383, allocations: 67.42 kB / 382.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.000394/0.2387, allocations: 250.6 kB / 382.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0009175/0.2397, allocations: 471.3 kB / 382.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004723/0.2401, allocations: 411.8 kB / 383.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0006208/0.2408, allocations: 379.2 kB / 383.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0006945/0.2414, allocations: 0.6271 MB / 384.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.625e-05/0.2415, allocations: 29.28 kB / 384.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 9.688e-05/0.2416, allocations: 108.8 kB / 384.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.00105/0.2426, allocations: 0.7479 MB / 385.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.502e-05/0.2427, allocations: 25.47 kB / 385.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.21e-07/0.2427, allocations: 0 / 385.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0002593/0.2429, allocations: 197.4 kB / 385.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.144e-06/0.2429, allocations: 4.031 kB / 385.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.655e-05/0.2429, allocations: 34.31 kB / 385.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.192e-05/0.2429, allocations: 5.094 kB / 385.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0009095/0.2439, allocations: 0.6461 MB / 386 MB, free: 15.19 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0005293/0.2444, allocations: 0.5935 MB / 386.6 MB, free: 14.73 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 2 * 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: ............................. 6 (6) {sineCurrent.phi, inductor1.i, capacitor1.v, cosineCurrent.phi, inductor2.i, capacitor2.v} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {$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: ........... 35 (scalar:35, 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: ........... 51 (scalar:51, 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: Performance of backend: time 0.0001183/0.2445, allocations: 42.89 kB / 386.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of SimCode: time 0.001565/0.2461, allocations: 1.161 MB / 387.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of Templates: time 0.008173/0.2542, allocations: 2.703 MB / 390.5 MB, free: 13.8 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.815252483007498] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v', 'cosineCurrent.phi', 'inductor1.i', 'inductor2.i', 'sineCurrent.phi'] 0.26413725601742044 0.275323508 0.26198676800000004 Calling exit ...