Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.001452/0.001452, 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.001861/0.001861, allocations: 186.9 kB / 24.53 MB, free: 3.75 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.526/1.526, allocations: 225.7 MB / 253.4 MB, free: 12.79 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.195e-05, allocations: 2.281 kB / 371.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004394/0.004416, allocations: 2.683 MB / 374.4 MB, free: 6.531 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.005788, allocations: 0.6466 MB / 375.1 MB, free: 5.879 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.005941, allocations: 11.94 kB / 375.1 MB, free: 5.867 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.006171, allocations: 51.44 kB / 375.1 MB, free: 5.816 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.006364, allocations: 91.2 kB / 375.2 MB, free: 5.727 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.006667, allocations: 95.8 kB / 375.3 MB, free: 5.633 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00051/0.007177, allocations: 418.4 kB / 375.7 MB, free: 5.223 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000316/0.007493, allocations: 101.8 kB / 375.8 MB, free: 5.121 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.007762, allocations: 147.4 kB / 376 MB, free: 4.977 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002627/0.008025, allocations: 143.3 kB / 376.1 MB, free: 4.836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.868e-05/0.008083, allocations: 32 kB / 376.1 MB, free: 4.805 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.905e-05/0.008142, allocations: 35.94 kB / 376.2 MB, free: 4.77 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005825/0.008725, allocations: 0.6227 MB / 376.8 MB, free: 4.141 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003049/0.00903, allocations: 386.8 kB / 377.2 MB, free: 3.758 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.533e-05/0.009085, allocations: 32 kB / 377.2 MB, free: 3.727 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.981e-05/0.009135, allocations: 11.94 kB / 377.2 MB, free: 3.715 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.001716/0.01085, allocations: 1.556 MB / 378.8 MB, free: 2.027 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002433/0.01109, allocations: 191.7 kB / 378.9 MB, free: 1.828 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0008664/0.01196, allocations: 0.8042 MB / 379.7 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000335/0.0123, allocations: 204.2 kB / 379.9 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.2342/0.2465, allocations: 1.638 MB / 381.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002159/0.2467, allocations: 139.4 kB / 381.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 7.864e-05/0.2468, allocations: 73.67 kB / 381.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.00032/0.2471, allocations: 204 kB / 382 MB, free: 15.68 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001475/0.2472, allocations: 67.91 kB / 382.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003489/0.2476, allocations: 245.7 kB / 382.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0006255/0.2482, allocations: 421.1 kB / 382.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003687/0.2486, allocations: 370.9 kB / 383.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0004947/0.2491, allocations: 355.8 kB / 383.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0005445/0.2496, allocations: 0.5605 MB / 384 MB, free: 15.32 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.635e-05/0.2496, allocations: 21.44 kB / 384 MB, free: 15.3 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 9.309e-05/0.2497, allocations: 100.9 kB / 384.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.000973/0.2507, allocations: 0.6655 MB / 384.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.277e-05/0.2507, allocations: 29.62 kB / 384.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.71e-07/0.2507, allocations: 1.031 kB / 384.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0002307/0.251, allocations: 199.3 kB / 385 MB, free: 15.12 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.59e-06/0.251, allocations: 7.234 kB / 385 MB, free: 15.12 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.31e-05/0.251, allocations: 29.28 kB / 385 MB, free: 15.11 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.325e-05/0.251, allocations: 5.344 kB / 385 MB, free: 15.11 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0007541/0.2517, allocations: 0.5713 MB / 385.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0005657/0.2523, allocations: 0.8929 MB / 386.5 MB, free: 14.3 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: ............... 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) {sineVoltage.phi, currentSensor1.i, capacitor1.v, cosineVoltage.phi, currentSensor2.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: ........... 31 (scalar:31, 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: ........... 47 (scalar:47, 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.0001346/0.2524, allocations: 32.48 kB / 386.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of SimCode: time 0.001653/0.2541, allocations: 1.168 MB / 387.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of Templates: time 0.007006/0.2611, allocations: 2.454 MB / 390.1 MB, free: 13.44 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.890576955047436] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v', 'cosineVoltage.phi', 'inductor1.i', 'inductor2.i', 'sineVoltage.phi'] 0.26984842400997877 0.28134509900000004 0.26994006200000004 Calling exit ...