Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.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.001335/0.001335, allocations: 107.6 kB / 21.2 MB, free: 0.6562 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.001411/0.001411, allocations: 205.1 kB / 24.49 MB, free: 3.949 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.812e-05, allocations: 2.281 kB / 378.9 MB, free: 2.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.188/0.1881, allocations: 2.743 MB / 381.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.1894, allocations: 0.7668 MB / 382.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.1896, allocations: 4.281 kB / 382.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.1897, allocations: 55 kB / 382.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.1899, allocations: 104.5 kB / 382.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.1903, allocations: 112.4 kB / 382.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000446/0.1907, allocations: 474.9 kB / 383.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.1909, allocations: 88.81 kB / 383.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.1912, allocations: 175.5 kB / 383.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.1914, allocations: 160.8 kB / 383.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.234e-05/0.1914, allocations: 37.12 kB / 383.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.503e-05/0.1915, allocations: 43.61 kB / 383.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004088/0.1919, allocations: 0.6396 MB / 384.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001728/0.1921, allocations: 398.7 kB / 384.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.613e-05/0.1922, allocations: 32.28 kB / 384.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.668e-05/0.1922, allocations: 17.25 kB / 384.7 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: 62 (62) * Number of variables: 62 (62) Notification: Performance of [SIM] Bindings: time 0.00123/0.1935, allocations: 1.526 MB / 386.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001537/0.1936, allocations: 180.8 kB / 386.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0008264/0.1944, allocations: 0.9029 MB / 387.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000247/0.1947, allocations: 208.9 kB / 387.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001641/0.1963, allocations: 1.308 MB / 388.9 MB, free: 9.699 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001529/0.1965, allocations: 151.9 kB / 389 MB, free: 9.582 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 6.703e-05/0.1965, allocations: 92.34 kB / 389.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002387/0.1968, allocations: 215.7 kB / 389.3 MB, free: 9.309 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001527/0.1969, allocations: 84 kB / 389.4 MB, free: 9.266 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003133/0.1972, allocations: 288.4 kB / 389.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.000696/0.1979, allocations: 0.524 MB / 390.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004249/0.1984, allocations: 0.5167 MB / 390.7 MB, free: 8.68 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0006013/0.199, allocations: 484.9 kB / 391.2 MB, free: 8.383 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0007361/0.1997, allocations: 0.9089 MB / 392.1 MB, free: 7.863 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.261e-05/0.1997, allocations: 31.48 kB / 392.1 MB, free: 7.836 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001084/0.1999, allocations: 142.9 kB / 392.3 MB, free: 7.75 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001272/0.2011, allocations: 0.9664 MB / 393.2 MB, free: 7.504 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0003075/0.2014, allocations: 205.6 kB / 393.4 MB, free: 7.453 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.132e-06/0.2014, allocations: 1.594 kB / 393.4 MB, free: 7.453 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.879e-06/0.2014, allocations: 0 / 393.4 MB, free: 7.453 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0002334/0.2017, allocations: 161.7 kB / 393.6 MB, free: 7.406 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.194e-05/0.2017, allocations: 5.375 kB / 393.6 MB, free: 7.402 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0005582/0.2022, allocations: 394.3 kB / 394 MB, free: 7.27 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0007103/0.203, allocations: 0.7199 MB / 394.7 MB, free: 6.695 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: ............... 1 * Number of algebraic event partitions: ......... 2 * 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: ............................. 1 (1) {idealTriac.capacitor.v} * Number of discrete states: .................... 1 (1) {booleanPulse.pulseStart} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 10 (10) {booleanPulse.y, idealTriac.idealThyristor.off, idealTriac.idealThyristor1.off, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 18 (scalar:18, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, 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: ........... 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: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 0.0001245/0.2031, allocations: 33.47 kB / 394.7 MB, free: 6.676 MB / 302.1 MB Notification: Performance of SimCode: time 0.001629/0.2047, allocations: 1.326 MB / 396.1 MB, free: 6.102 MB / 302.1 MB Notification: Performance of Templates: time 0.006995/0.2117, allocations: 3.519 MB / 399.6 MB, free: 4.723 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.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.593989167828113]