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.001838/0.001838, allocations: 103.6 kB / 21.2 MB, free: 0.6328 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.002287/0.002287, allocations: 221 kB / 24.5 MB, free: 3.922 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.5/1.5, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.705e-05/2.705e-05, allocations: 2.281 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.1877/0.1878, allocations: 6.855 MB / 385.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004056/0.1918, allocations: 1.884 MB / 387.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005679/0.1924, allocations: 35.97 kB / 387.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005157/0.1929, allocations: 236.2 kB / 388 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008242/0.1937, allocations: 452.5 kB / 388.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009003/0.1946, allocations: 0.5044 MB / 388.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002015/0.1966, allocations: 2.247 MB / 391.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007238/0.1974, allocations: 405.7 kB / 391.6 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009278/0.1983, allocations: 0.7859 MB / 392.3 MB, free: 7.543 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007167/0.199, allocations: 0.7146 MB / 393.1 MB, free: 7.148 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000224/0.1992, allocations: 177.8 kB / 393.2 MB, free: 7.148 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.1995, allocations: 180 kB / 393.4 MB, free: 7.148 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002128/0.2016, allocations: 2.953 MB / 396.4 MB, free: 5.152 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001042/0.2027, allocations: 1.768 MB / 398.1 MB, free: 3.922 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.203, allocations: 133.6 kB / 398.3 MB, free: 3.922 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002286/0.2032, allocations: 48.16 kB / 398.3 MB, free: 3.91 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.005874/0.2091, allocations: 6.757 MB / 405.1 MB, free: 15.29 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0008286/0.2099, allocations: 0.7498 MB / 405.8 MB, free: 14.82 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.00412/0.214, allocations: 3.648 MB / 409.5 MB, free: 12.13 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001419/0.2154, allocations: 0.8019 MB / 410.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.009661/0.2251, allocations: 6.381 MB / 416.6 MB, free: 6.312 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000878/0.226, allocations: 0.5181 MB / 417.2 MB, free: 5.723 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003267/0.2263, allocations: 280.1 kB / 417.4 MB, free: 5.41 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0007911/0.2271, allocations: 0.6586 MB / 418.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0004111/0.2275, allocations: 270.5 kB / 418.4 MB, free: 4.438 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001358/0.2289, allocations: 1.181 MB / 419.5 MB, free: 3.141 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.003223/0.2321, allocations: 2.305 MB / 421.9 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002314/0.2344, allocations: 2.135 MB / 424 MB, free: 14.56 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.003084/0.2375, allocations: 1.727 MB / 425.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.003392/0.2409, allocations: 3.349 MB / 429.1 MB, free: 9.324 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.0001712/0.241, allocations: 76.05 kB / 429.1 MB, free: 9.234 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0005704/0.2416, allocations: 0.5814 MB / 429.7 MB, free: 8.652 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.00957/0.2512, allocations: 6.576 MB / 436.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 0.000375/0.2516, allocations: 304.6 kB / 436.6 MB, free: 1.684 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 1.943e-06/0.2516, allocations: 0 / 436.6 MB, free: 1.684 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.113e-05/0.2516, allocations: 5 kB / 436.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 0.0003802/0.252, allocations: 297.5 kB / 436.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 4.496e-05/0.252, allocations: 15.92 kB / 436.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.002529/0.2545, allocations: 1.704 MB / 438.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.00276/0.2573, allocations: 2.529 MB / 441.1 MB, free: 12.82 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 9.884e-05/0.2574, allocations: 68.22 kB / 441.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of SimCode: time 0.00616/0.2636, allocations: 5.542 MB / 446.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of Templates: time 0.0226/0.2862, allocations: 13.27 MB / 460 MB, free: 9.859 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] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.256124310195446]