Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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.001302/0.001302, 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.001378/0.001378, allocations: 217.2 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.432/1.432, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.387e-05, allocations: 6.281 kB / 378.9 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.209/0.209, allocations: 3.712 MB / 382.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.2115, allocations: 1.022 MB / 383.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003094/0.2118, allocations: 11.44 kB / 383.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.2121, allocations: 84.97 kB / 383.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.2125, allocations: 186.3 kB / 384 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007284/0.2133, allocations: 236.1 kB / 384.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.2144, allocations: 0.924 MB / 385.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.2146, allocations: 109.2 kB / 385.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005016/0.2151, allocations: 339.6 kB / 385.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004142/0.2156, allocations: 355.9 kB / 385.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.2157, allocations: 83.22 kB / 386 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.2159, allocations: 87.39 kB / 386.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0008791/0.2168, allocations: 1.235 MB / 387.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003154/0.2171, allocations: 0.6921 MB / 388 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.2172, allocations: 51.03 kB / 388 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.671e-05/0.2173, allocations: 21.11 kB / 388.1 MB, free: 10.47 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: 89 (89) * Number of variables: 89 (89) Notification: Performance of [SIM] Bindings: time 0.00229/0.2196, allocations: 2.766 MB / 390.8 MB, free: 8.559 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004659/0.2201, allocations: 441.3 kB / 391.3 MB, free: 8.312 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001912/0.222, allocations: 1.96 MB / 393.2 MB, free: 7.137 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0006575/0.2226, allocations: 464.3 kB / 393.7 MB, free: 6.902 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002977/0.2256, allocations: 2.079 MB / 395.7 MB, free: 5.629 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004648/0.2261, allocations: 386.1 kB / 396.1 MB, free: 5.43 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001834/0.2263, allocations: 175.4 kB / 396.3 MB, free: 5.297 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004924/0.2267, allocations: 447.3 kB / 396.7 MB, free: 4.961 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0004241/0.2272, allocations: 261.2 kB / 397 MB, free: 4.824 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.001168/0.2283, allocations: 0.6956 MB / 397.7 MB, free: 4.5 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002137/0.2305, allocations: 1.26 MB / 398.9 MB, free: 4.168 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001862/0.2323, allocations: 1.464 MB / 400.4 MB, free: 3.293 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.00186/0.2342, allocations: 1.188 MB / 401.6 MB, free: 2.383 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.002401/0.2366, allocations: 2.528 MB / 404.1 MB, free: 400 kB / 302.1 MB Notification: Performance of [INI] Partitioning: time 0.0001247/0.2367, allocations: 50.91 kB / 404.2 MB, free: 360 kB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0003162/0.237, allocations: 387 kB / 404.6 MB, free: 20 kB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.004888/0.2419, allocations: 2.572 MB / 407.1 MB, free: 15.08 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.0007952/0.2427, allocations: 0.5882 MB / 407.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 1.753e-06/0.2427, allocations: 0 / 407.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.498e-05/0.2427, allocations: 7.375 kB / 407.7 MB, free: 14.78 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.0007194/0.2435, allocations: 0.4972 MB / 408.2 MB, free: 14.52 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 1.767e-05/0.2435, allocations: 6.984 kB / 408.2 MB, free: 14.52 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.001398/0.2449, allocations: 0.9232 MB / 409.1 MB, free: 14.04 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.002418/0.2473, allocations: 1.655 MB / 410.8 MB, free: 12.82 MB / 318.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: ............... 1 * 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: ............................. 3 (3) {V.i, simpleTriac.thyristor.vControl, simpleTriac.thyristor1.vControl} * Number of discrete states: .................... 2 (2) {trapezoidCurrent.signalSource.T_start, trapezoidCurrent.signalSource.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 27 (27) {simpleTriac.idealDiode.off, simpleTriac.idealDiode1.off, $SEV_23, $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_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: ........... 45 (scalar:45, 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: ........... 103 (scalar:103, 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 9.394e-05/0.2474, allocations: 56.47 kB / 410.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of SimCode: time 0.003635/0.251, allocations: 2.76 MB / 413.6 MB, free: 9.969 MB / 318.1 MB Notification: Performance of Templates: time 0.01817/0.2692, allocations: 9.376 MB / 423 MB, free: 0.6367 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SimpleTriacCircuit/SimpleTriacCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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: 9.305753855034709]