Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009403/0.0009403, allocations: 115.2 kB / 18.47 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00113/0.00113, allocations: 213 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.994e-05/2.995e-05, allocations: 2.281 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008633/0.008675, allocations: 7.897 MB / 367.3 MB, free: 5.023 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003815/0.01253, allocations: 1.909 MB / 369.2 MB, free: 3.109 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.01377, allocations: 31.88 kB / 369.2 MB, free: 3.078 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00083/0.01461, allocations: 229.7 kB / 369.4 MB, free: 2.852 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002004/0.01667, allocations: 456.2 kB / 369.9 MB, free: 2.402 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.01828, allocations: 0.4955 MB / 370.4 MB, free: 1.906 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1785/0.1968, allocations: 2.038 MB / 372.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.198, allocations: 0.6235 MB / 373 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008456/0.1989, allocations: 0.6366 MB / 373.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000765/0.1996, allocations: 0.7126 MB / 374.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002623/0.1999, allocations: 179.6 kB / 374.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002971/0.2002, allocations: 178.8 kB / 374.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001448/0.2017, allocations: 2.396 MB / 377.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006604/0.2023, allocations: 1.445 MB / 378.6 MB, free: 7.949 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003271/0.2027, allocations: 274.6 kB / 378.8 MB, free: 7.895 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002604/0.2029, allocations: 42.09 kB / 378.9 MB, free: 7.895 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 Bindings: time 0.005459/0.2084, allocations: 7.082 MB / 386 MB, free: 4.012 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0002541/0.2087, allocations: 316.9 kB / 386.3 MB, free: 3.809 MB / 302.1 MB Notification: Performance of Early Inline: time 0.002798/0.2115, allocations: 3.561 MB / 389.8 MB, free: 1.484 MB / 302.1 MB Notification: Performance of simplify1: time 0.0003746/0.2119, allocations: 332.3 kB / 390.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of Alias: time 0.009757/0.2216, allocations: 7.6 MB / 397.8 MB, free: 12.93 MB / 318.1 MB Notification: Performance of simplify2: time 0.0004719/0.2222, allocations: 207.3 kB / 398 MB, free: 12.86 MB / 318.1 MB Notification: Performance of Detect States: time 0.001099/0.2233, allocations: 0.7303 MB / 398.7 MB, free: 12.37 MB / 318.1 MB Notification: Performance of Events: time 0.000835/0.2241, allocations: 474.3 kB / 399.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of Partitioning: time 0.001256/0.2254, allocations: 1.055 MB / 400.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of Causalize: time 0.004633/0.23, allocations: 3.9 MB / 404.1 MB, free: 9.188 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.002473/0.2325, allocations: 2.261 MB / 406.4 MB, free: 7.203 MB / 318.1 MB Notification: Performance of Inline: time 0.004335/0.2369, allocations: 4.207 MB / 410.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0003671/0.2372, allocations: 239.6 kB / 410.8 MB, free: 3.023 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0001964/0.2375, allocations: 179.7 kB / 411 MB, free: 2.848 MB / 318.1 MB Notification: Performance of Causalize: time 0.01264/0.2501, allocations: 10.88 MB / 421.9 MB, free: 7.895 MB / 334.1 MB Notification: Performance of Tearing: time 0.002867/0.253, allocations: 2.717 MB / 424.6 MB, free: 5.043 MB / 334.1 MB Notification: Performance of Initialization: time 1.663e-06/0.253, allocations: 0 / 424.6 MB, free: 5.043 MB / 334.1 MB Notification: Performance of Tearing: time 0.002826/0.2559, allocations: 2.974 MB / 427.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of Categorize: time 3.424e-05/0.2559, allocations: 8 kB / 427.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of Solve: time 0.001241/0.2572, allocations: 0.7165 MB / 428.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of Jacobian: time 0.001615/0.2588, allocations: 1.686 MB / 430 MB, free: 15.36 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 27 (27) {$SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $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 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 (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: ........... 214 (scalar:214, 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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 4, nonlinear:0) Notification: Performance of backend: time 7.35e-05/0.2589, allocations: 73.58 kB / 430 MB, free: 15.29 MB / 350.1 MB Notification: Performance of SimCode: time 0.005163/0.264, allocations: 6.597 MB / 436.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of Templates: time 0.01795/0.282, allocations: 12.75 MB / 449.4 MB, free: 11.82 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches