Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.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.001644/0.001644, 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.001817/0.001817, allocations: 209.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.459/1.459, 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.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor") translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/2.897e-05, allocations: 6.219 kB / 378.9 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.004618/0.004647, allocations: 2.087 MB / 381 MB, free: 408 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1874/0.1921, allocations: 0.577 MB / 381.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.1922, allocations: 2.844 kB / 381.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.1924, allocations: 25.53 kB / 381.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.1925, allocations: 43.19 kB / 381.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.1927, allocations: 57.06 kB / 381.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.193, allocations: 197.5 kB / 381.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.1931, allocations: 48.19 kB / 382 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.1933, allocations: 81.06 kB / 382 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.736e-05/0.1934, allocations: 65.64 kB / 382.1 MB, free: 13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.1934, allocations: 14.81 kB / 382.1 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.673e-05/0.1935, allocations: 22 kB / 382.1 MB, free: 13 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002124/0.1937, allocations: 276.6 kB / 382.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.595e-05/0.1938, allocations: 164.7 kB / 382.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.1938, allocations: 14 kB / 382.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.735e-05/0.1939, allocations: 9.703 kB / 382.6 MB, free: 12.77 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: 28 (28) * Number of variables: 28 (28) Notification: Performance of [SIM] Bindings: time 0.009141/0.203, allocations: 0.7364 MB / 383.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001003/0.2031, allocations: 83.27 kB / 383.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004299/0.2035, allocations: 387.4 kB / 383.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001506/0.2037, allocations: 126 kB / 383.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001321/0.205, allocations: 0.657 MB / 384.6 MB, free: 11.85 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001212/0.2051, allocations: 106.2 kB / 384.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.378e-05/0.2052, allocations: 56.11 kB / 384.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001187/0.2053, allocations: 103.8 kB / 384.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of [SIM] Events: time 9.755e-05/0.2054, allocations: 24.86 kB / 384.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001711/0.2056, allocations: 98.73 kB / 385 MB, free: 11.54 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.000331/0.2059, allocations: 168.7 kB / 385.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001828/0.2061, allocations: 148 kB / 385.3 MB, free: 11.49 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0003802/0.2065, allocations: 230.9 kB / 385.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0003104/0.2068, allocations: 294.3 kB / 385.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.002e-05/0.2068, allocations: 18.09 kB / 385.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 4.88e-05/0.2068, allocations: 38.38 kB / 385.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0004858/0.2073, allocations: 310.5 kB / 386.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 7.755e-05/0.2074, allocations: 39.38 kB / 386.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.31e-07/0.2074, allocations: 0 / 386.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.873e-06/0.2074, allocations: 4 kB / 386.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.249e-05/0.2074, allocations: 31.09 kB / 386.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.185e-06/0.2075, allocations: 2.188 kB / 386.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0002293/0.2077, allocations: 120.7 kB / 386.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.177e-05/0.2077, allocations: 1.031 kB / 386.3 MB, free: 10.98 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: ......... 1 * 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: ................. 2 (2) {$SEV_0, $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: ........... 6 (scalar:6, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 14 (scalar:14, 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: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 4.68e-05/0.2077, allocations: 23.3 kB / 386.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of SimCode: time 0.0008191/0.2086, allocations: 460.7 kB / 386.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of Templates: time 0.01648/0.225, allocations: 1.207 MB / 388 MB, free: 10.58 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.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.667722382117063]