Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001411/0.001411, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.00149/0.00149, allocations: 216.8 kB / 24.5 MB, free: 3.926 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.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.879e-05/2.879e-05, allocations: 6.219 kB / 378.9 MB, free: 2.574 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.1929/0.1929, allocations: 2.618 MB / 381.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.1951, allocations: 0.6595 MB / 382.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.1952, allocations: 5.188 kB / 382.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.1954, allocations: 46.73 kB / 382.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.1956, allocations: 92.67 kB / 382.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.1959, allocations: 90.2 kB / 382.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004937/0.1964, allocations: 419.5 kB / 382.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.1966, allocations: 82.55 kB / 382.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.1968, allocations: 150.5 kB / 383.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.1971, allocations: 171.9 kB / 383.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.017e-05/0.1972, allocations: 37.44 kB / 383.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.156e-05/0.1972, allocations: 34.31 kB / 383.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005313/0.1978, allocations: 0.6162 MB / 383.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002164/0.198, allocations: 361.7 kB / 384.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.664e-05/0.1981, allocations: 27.75 kB / 384.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.439e-05/0.1981, allocations: 10.41 kB / 384.3 MB, free: 12.29 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: 60 (60) * Number of variables: 60 (60) Notification: Performance of [SIM] Bindings: time 0.002115/0.2002, allocations: 1.5 MB / 385.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002385/0.2005, allocations: 168.1 kB / 386 MB, free: 11.39 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0009747/0.2014, allocations: 0.7663 MB / 386.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003957/0.2018, allocations: 229 kB / 387 MB, free: 10.78 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001834/0.2037, allocations: 1.354 MB / 388.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002144/0.2039, allocations: 179.4 kB / 388.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001259/0.204, allocations: 100.3 kB / 388.6 MB, free: 9.73 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003165/0.2043, allocations: 210.3 kB / 388.8 MB, free: 9.547 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001876/0.2045, allocations: 112.2 kB / 388.9 MB, free: 9.496 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003401/0.2049, allocations: 273 kB / 389.2 MB, free: 9.344 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0007644/0.2056, allocations: 0.5109 MB / 389.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005331/0.2061, allocations: 0.5034 MB / 390.2 MB, free: 8.91 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001037/0.2072, allocations: 0.5766 MB / 390.8 MB, free: 8.574 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001026/0.2082, allocations: 0.7632 MB / 391.6 MB, free: 8.168 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 5.422e-05/0.2083, allocations: 30.25 kB / 391.6 MB, free: 8.145 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001903/0.2085, allocations: 134.7 kB / 391.7 MB, free: 8.066 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.00217/0.2106, allocations: 1.023 MB / 392.7 MB, free: 7.836 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0003689/0.211, allocations: 166.3 kB / 392.9 MB, free: 7.793 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 8.51e-07/0.211, allocations: 0 / 392.9 MB, free: 7.793 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.578e-05/0.211, allocations: 9.5 kB / 392.9 MB, free: 7.785 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0002457/0.2113, allocations: 111.1 kB / 393 MB, free: 7.758 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.822e-05/0.2113, allocations: 1.375 kB / 393 MB, free: 7.758 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0007203/0.212, allocations: 345.5 kB / 393.4 MB, free: 7.633 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.372e-05/0.212, allocations: 1.375 kB / 393.4 MB, free: 7.633 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: ......... 3 * 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: ............................. 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: ................. 9 (9) {$SEV_8, $SEV_7, $SEV_6, $SEV_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: ........... 20 (scalar:20, 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: ........... 51 (scalar:51, 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 0.0002113/0.2122, allocations: 31.88 kB / 393.4 MB, free: 7.613 MB / 302.1 MB Notification: Performance of SimCode: time 0.00158/0.2138, allocations: 0.8524 MB / 394.2 MB, free: 7.199 MB / 302.1 MB Notification: Performance of Templates: time 0.1409/0.3547, allocations: 3.066 MB / 397.3 MB, free: 6.324 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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: 4.7349851238541305]