Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.001779/0.001779, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.002488/0.002488, allocations: 206.2 kB / 24.49 MB, free: 3.961 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.464/1.464, 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.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor") translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.254e-05, allocations: 2.281 kB / 378.9 MB, free: 2.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.1851/0.1851, allocations: 2.793 MB / 381.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.1864, allocations: 0.721 MB / 382.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.1866, allocations: 11.28 kB / 382.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.1867, allocations: 53.7 kB / 382.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.1869, allocations: 102.4 kB / 382.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.1872, allocations: 105.1 kB / 382.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004448/0.1877, allocations: 473 kB / 383.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.1879, allocations: 80.38 kB / 383.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.1882, allocations: 175.9 kB / 383.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.1884, allocations: 165.8 kB / 383.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.459e-05/0.1884, allocations: 30.78 kB / 383.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.609e-05/0.1885, allocations: 43.14 kB / 383.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004484/0.189, allocations: 0.6458 MB / 384.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001773/0.1891, allocations: 406.8 kB / 384.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.806e-05/0.1892, allocations: 35.66 kB / 384.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.73e-05/0.1892, allocations: 12.62 kB / 384.8 MB, free: 12.18 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: 67 (67) * Number of variables: 67 (67) Notification: Performance of [SIM] Bindings: time 0.001342/0.1906, allocations: 1.608 MB / 386.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001559/0.1907, allocations: 172.7 kB / 386.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0008513/0.1916, allocations: 0.9264 MB / 387.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003055/0.1919, allocations: 251.9 kB / 387.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001777/0.1937, allocations: 1.399 MB / 389.1 MB, free: 9.652 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000206/0.1939, allocations: 203.3 kB / 389.3 MB, free: 9.52 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 8.502e-05/0.194, allocations: 94.98 kB / 389.4 MB, free: 9.438 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001694/0.1941, allocations: 203.8 kB / 389.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001936/0.1943, allocations: 132.9 kB / 389.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.000356/0.1947, allocations: 359.5 kB / 390.1 MB, free: 8.98 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0007426/0.1954, allocations: 0.5934 MB / 390.7 MB, free: 8.75 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005081/0.1959, allocations: 0.5782 MB / 391.2 MB, free: 8.473 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.000571/0.1965, allocations: 463.4 kB / 391.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0008172/0.1973, allocations: 0.9675 MB / 392.7 MB, free: 7.703 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.589e-05/0.1974, allocations: 22.69 kB / 392.7 MB, free: 7.688 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001248/0.1975, allocations: 140.3 kB / 392.8 MB, free: 7.613 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001084/0.1986, allocations: 0.8601 MB / 393.7 MB, free: 7.41 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0001094/0.1987, allocations: 89.36 kB / 393.8 MB, free: 7.379 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.423e-06/0.1987, allocations: 1.062 kB / 393.8 MB, free: 7.379 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.366e-06/0.1987, allocations: 5.094 kB / 393.8 MB, free: 7.375 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 7.241e-05/0.1988, allocations: 76.88 kB / 393.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.479e-05/0.1988, allocations: 1.641 kB / 393.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0005756/0.1994, allocations: 408.8 kB / 394.3 MB, free: 7.238 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0004365/0.1998, allocations: 0.5922 MB / 394.8 MB, free: 6.703 MB / 302.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: ............... 0 * Number of algebraic event partitions: ......... 7 * 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 9 (9) {$SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 26 (scalar:26, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 43 (scalar:43, 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 4.292e-05/0.1998, allocations: 27.69 kB / 394.9 MB, free: 6.684 MB / 302.1 MB Notification: Performance of SimCode: time 0.001408/0.2012, allocations: 1.115 MB / 396 MB, free: 6.172 MB / 302.1 MB Notification: Performance of Templates: time 0.007865/0.2091, allocations: 3.942 MB / 399.9 MB, free: 4.492 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.636877263896167]