Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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.001375/0.001375, 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.001541/0.001541, allocations: 211 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.64/1.64, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.064e-05, allocations: 2.281 kB / 379.1 MB, free: 2.398 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.2158/0.2158, allocations: 6.865 MB / 385.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005737/0.2216, allocations: 1.884 MB / 387.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.2232, allocations: 33.88 kB / 387.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006826/0.2239, allocations: 231.5 kB / 388.1 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.2252, allocations: 460.8 kB / 388.5 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.2264, allocations: 0.5009 MB / 389 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002518/0.2289, allocations: 2.251 MB / 391.3 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007543/0.2297, allocations: 374 kB / 391.7 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.2308, allocations: 0.77 MB / 392.4 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007249/0.2315, allocations: 0.6198 MB / 393 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000245/0.2317, allocations: 178.8 kB / 393.2 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002777/0.232, allocations: 179.4 kB / 393.4 MB, free: 7.262 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001892/0.2339, allocations: 2.958 MB / 396.4 MB, free: 5.262 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009251/0.2348, allocations: 1.768 MB / 398.1 MB, free: 4.031 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.2351, allocations: 132.9 kB / 398.3 MB, free: 4.031 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002162/0.2353, allocations: 39.73 kB / 398.3 MB, free: 4.027 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: 311 (311) * Number of variables: 311 (311) Notification: Performance of [SIM] Bindings: time 0.005776/0.2411, allocations: 6.76 MB / 405.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0008628/0.242, allocations: 0.7565 MB / 405.8 MB, free: 14.93 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.004144/0.2461, allocations: 3.643 MB / 409.4 MB, free: 12.24 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001366/0.2475, allocations: 0.7025 MB / 410.2 MB, free: 11.81 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.009969/0.2575, allocations: 6.537 MB / 416.7 MB, free: 6.363 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0008009/0.2583, allocations: 480.8 kB / 417.2 MB, free: 5.82 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000337/0.2586, allocations: 280.1 kB / 417.4 MB, free: 5.508 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0007361/0.2593, allocations: 0.6556 MB / 418.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0004271/0.2598, allocations: 280.9 kB / 418.4 MB, free: 4.52 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001377/0.2611, allocations: 1.189 MB / 419.6 MB, free: 3.215 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.003328/0.2645, allocations: 2.267 MB / 421.8 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002405/0.2669, allocations: 2.131 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.003093/0.27, allocations: 1.634 MB / 425.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.003738/0.2737, allocations: 3.356 MB / 428.9 MB, free: 9.52 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.0002586/0.274, allocations: 76.05 kB / 429 MB, free: 9.43 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0007431/0.2747, allocations: 0.5736 MB / 429.6 MB, free: 8.855 MB / 334.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) firstOrder2A.opAmp.v_out = smooth(0, noEvent(if firstOrder2A.opAmp.V0 * firstOrder2A.opAmp.v_in > firstOrder2A.opAmp.Vps then firstOrder2A.opAmp.Vps else if firstOrder2A.opAmp.V0 * firstOrder2A.opAmp.v_in < firstOrder2A.opAmp.Vns then firstOrder2A.opAmp.Vns else firstOrder2A.opAmp.V0 * firstOrder2A.opAmp.v_in)) ($RES_SIM_35); [SCAL] (1) firstOrder1A.v2 = $START.firstOrder1A.v2 ($RES_SRT_345); [SCAL] (1) PIA.v2 = $START.PIA.v2 ($RES_SRT_344); Notification: Performance of [INI] Causalize: time 0.01109/0.2858, allocations: 6.464 MB / 436.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 0.0004521/0.2862, allocations: 297.1 kB / 436.3 MB, free: 2 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 2.384e-06/0.2862, allocations: 0 / 436.3 MB, free: 2 MB / 334.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001565/0.2878, allocations: 0.8643 MB / 437.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.75e-05/0.2878, allocations: 9 kB / 437.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 0.0004086/0.2882, allocations: 342.5 kB / 437.5 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 6.008e-05/0.2883, allocations: 15.94 kB / 437.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.005992/0.2943, allocations: 3.311 MB / 440.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.007128/0.3014, allocations: 5.465 MB / 446.3 MB, free: 7.336 MB / 350.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: ............... 2 * Number of algebraic event partitions: ......... 13 * 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) {PIA.c.v, firstOrder1A.v, firstOrder2A.v, PIB.x, firstOrder1B.y, firstOrder2B.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 17 (17) {$SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_3, $TEV_2, $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: ........... 111 (scalar:111, 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: ... 6 (linear: 6, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 212 (scalar:212, 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: ... 5 (linear: 5, nonlinear:0) Notification: Performance of backend: time 0.0001527/0.3016, allocations: 69.2 kB / 446.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of SimCode: time 0.007658/0.3092, allocations: 5.626 MB / 452 MB, free: 1.465 MB / 350.1 MB Notification: Performance of Templates: time 0.02733/0.3366, allocations: 14.04 MB / 466.1 MB, free: 3.488 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.436785718018655] Failed to read output from testmodel.py, exit status != 0: ['time', 'firstOrder1A.c.v', 'firstOrder1B.y', 'firstOrder2A.c.v', 'firstOrder2B.y', 'PIA.c.v', 'PIB.x', 'addA.opAmp.v_out', 'addB.y'] 0.34496211202349514 0.360345364 0.12181914 Calling exit ...