Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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.002303/0.002303, 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.002673/0.002673, allocations: 186.2 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.586/1.586, allocations: 225.7 MB / 253.4 MB, free: 12.75 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.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.095e-05, allocations: 2.281 kB / 371.8 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.00918/0.009201, allocations: 6.846 MB / 378.6 MB, free: 2.211 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004721/0.01392, allocations: 1.847 MB / 380.4 MB, free: 368 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.01514, allocations: 35.81 kB / 380.5 MB, free: 332 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006788/0.01582, allocations: 237.7 kB / 380.7 MB, free: 92 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.227/0.2428, allocations: 447.7 kB / 381.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.2443, allocations: 0.4993 MB / 381.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003783/0.2481, allocations: 2.25 MB / 383.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000897/0.249, allocations: 367.1 kB / 384.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/0.2506, allocations: 0.7768 MB / 385 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009024/0.2515, allocations: 0.6187 MB / 385.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002806/0.2518, allocations: 178.4 kB / 385.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.2521, allocations: 178.2 kB / 386 MB, free: 12.9 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002249/0.2544, allocations: 2.958 MB / 389 MB, free: 10.97 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001375/0.2557, allocations: 1.773 MB / 390.7 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005127/0.2562, allocations: 137.4 kB / 390.9 MB, free: 9.777 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003054/0.2565, allocations: 43.19 kB / 390.9 MB, free: 9.773 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.006623/0.2632, allocations: 6.75 MB / 397.7 MB, free: 5.363 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0008619/0.264, allocations: 0.7581 MB / 398.4 MB, free: 4.906 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.003957/0.268, allocations: 3.645 MB / 402.1 MB, free: 2.625 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001757/0.2697, allocations: 0.6974 MB / 402.8 MB, free: 2.328 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.01089/0.2806, allocations: 6.548 MB / 409.3 MB, free: 14.09 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0009254/0.2816, allocations: 477.5 kB / 409.8 MB, free: 13.79 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003971/0.282, allocations: 282.2 kB / 410.1 MB, free: 13.54 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001157/0.2831, allocations: 0.6534 MB / 410.7 MB, free: 12.92 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0006487/0.2838, allocations: 267.4 kB / 411 MB, free: 12.75 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001577/0.2853, allocations: 1.187 MB / 412.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.003602/0.2889, allocations: 2.269 MB / 414.4 MB, free: 9.633 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002669/0.2916, allocations: 2.128 MB / 416.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.00337/0.295, allocations: 1.643 MB / 418.2 MB, free: 5.738 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.004896/0.2999, allocations: 3.348 MB / 421.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0004775/0.3004, allocations: 80.98 kB / 421.6 MB, free: 2.293 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.001337/0.3017, allocations: 0.5766 MB / 422.2 MB, free: 1.719 MB / 318.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.01203/0.3137, allocations: 6.469 MB / 428.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 0.0004653/0.3142, allocations: 292.2 kB / 429 MB, free: 10.92 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 3.316e-06/0.3142, allocations: 0 / 429 MB, free: 10.92 MB / 334.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001551/0.3157, allocations: 0.8605 MB / 429.8 MB, free: 9.965 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.229e-05/0.3158, allocations: 12.94 kB / 429.8 MB, free: 9.953 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 0.0004854/0.3162, allocations: 354.8 kB / 430.2 MB, free: 9.617 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 6.3e-05/0.3163, allocations: 4 kB / 430.2 MB, free: 9.613 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.00596/0.3223, allocations: 3.299 MB / 433.5 MB, free: 6.316 MB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 0.006941/0.3292, allocations: 5.465 MB / 438.9 MB, free: 368 kB / 334.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.0001792/0.3294, allocations: 80.38 kB / 439 MB, free: 296 kB / 334.1 MB Notification: Performance of SimCode: time 0.009049/0.3384, allocations: 5.624 MB / 444.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of Templates: time 0.02786/0.3663, allocations: 14.03 MB / 458.7 MB, free: 12.56 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.350270355003886] 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.3754209519829601 0.39176422199999994 0.131560477 Calling exit ...