Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.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.001998/0.001998, allocations: 107.7 kB / 22 MB, free: 5.227 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.002229/0.002229, allocations: 209.5 kB / 25.3 MB, free: 2.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 207.7 MB / 236.2 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.OpAmps.Comparator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Comparator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.232e-05, allocations: 2.281 kB / 348.5 MB, free: 9.352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.004472/0.004494, allocations: 2.659 MB / 351.2 MB, free: 6.668 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.005976, allocations: 0.7138 MB / 351.9 MB, free: 5.945 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.006119, allocations: 7.938 kB / 351.9 MB, free: 5.938 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.006292, allocations: 51.52 kB / 352 MB, free: 5.887 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.006515, allocations: 103.2 kB / 352.1 MB, free: 5.785 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.006824, allocations: 115.8 kB / 352.2 MB, free: 5.672 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005467/0.007371, allocations: 466.4 kB / 352.6 MB, free: 5.215 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.007616, allocations: 88.36 kB / 352.7 MB, free: 5.133 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.007843, allocations: 171.3 kB / 352.9 MB, free: 4.965 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.00806, allocations: 159.2 kB / 353 MB, free: 4.809 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.427e-05/0.008124, allocations: 40 kB / 353.1 MB, free: 4.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.492e-05/0.008189, allocations: 36 kB / 353.1 MB, free: 4.734 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0006922/0.008881, allocations: 0.654 MB / 353.8 MB, free: 4.074 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.00036/0.009241, allocations: 398.8 kB / 354.2 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.987e-05/0.009301, allocations: 28 kB / 354.2 MB, free: 3.652 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.438e-05/0.009346, allocations: 8 kB / 354.2 MB, free: 3.645 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 (61) * Number of variables: 61 (61) Notification: Performance of [SIM] Bindings: time 0.001977/0.01132, allocations: 1.561 MB / 355.8 MB, free: 1.953 MB / 286.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001965/0.01152, allocations: 177.2 kB / 355.9 MB, free: 1.77 MB / 286.1 MB Notification: Performance of [SIM] Early Inline: time 0.000889/0.01241, allocations: 0.8237 MB / 356.8 MB, free: 0.918 MB / 286.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003694/0.01278, allocations: 213.8 kB / 357 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of [SIM] Alias: time 0.002456/0.01523, allocations: 1.445 MB / 358.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002551/0.01549, allocations: 180.9 kB / 358.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001773/0.01567, allocations: 92.31 kB / 358.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004105/0.01608, allocations: 223.1 kB / 358.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001375/0.01621, allocations: 63.89 kB / 359 MB, free: 14.35 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003407/0.01655, allocations: 248 kB / 359.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0006538/0.01721, allocations: 418 kB / 359.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005028/0.01771, allocations: 479.6 kB / 360.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0009684/0.01868, allocations: 0.6379 MB / 360.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0008242/0.0195, allocations: 0.7778 MB / 361.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 5.021e-05/0.01955, allocations: 29.36 kB / 361.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002147/0.01977, allocations: 217.1 kB / 361.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.003427/0.0232, allocations: 2.151 MB / 363.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.000142/0.02334, allocations: 99.92 kB / 364 MB, free: 9.176 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 7.12e-07/0.02334, allocations: 0 / 364 MB, free: 9.176 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0002719/0.02361, allocations: 167.8 kB / 364.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.64e-06/0.02362, allocations: 192 / 364.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.452e-05/0.02366, allocations: 43.97 kB / 364.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.171e-05/0.02367, allocations: 0 / 364.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001171/0.02484, allocations: 0.7928 MB / 365 MB, free: 8.16 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0009034/0.02575, allocations: 0.9413 MB / 365.9 MB, free: 7.062 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 2 (2) {vIn.signalSource.T_start, vIn.signalSource.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {$SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_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: ........... 22 (scalar:22, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 60 (scalar:60, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 60 (scalar:60, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 7.726e-05/0.02582, allocations: 55.47 kB / 366 MB, free: 7.008 MB / 302.1 MB Notification: Performance of SimCode: time 0.001726/0.02755, allocations: 1.14 MB / 367.1 MB, free: 5.82 MB / 302.1 MB Notification: Performance of Templates: time 0.008016/0.03557, allocations: 3.182 MB / 370.3 MB, free: 2.637 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.769533971964847] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 0.0440321319620125 0.058772342000000005 0.046371378000000005 Calling exit ...