Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00142/0.00142, allocations: 109.8 kB / 22 MB, free: 5.215 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.001403/0.001403, allocations: 214 kB / 25.3 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 207.7 MB / 236.2 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.805e-05, allocations: 2.281 kB / 348.5 MB, free: 9.371 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004963/0.004991, allocations: 2.663 MB / 351.2 MB, free: 6.684 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.006591, allocations: 0.7526 MB / 351.9 MB, free: 5.922 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.006749, allocations: 4 kB / 351.9 MB, free: 5.918 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.006934, allocations: 51.5 kB / 352 MB, free: 5.867 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.007157, allocations: 103.1 kB / 352.1 MB, free: 5.766 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.007518, allocations: 111.7 kB / 352.2 MB, free: 5.656 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005605/0.008079, allocations: 450.3 kB / 352.6 MB, free: 5.215 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.008323, allocations: 79.67 kB / 352.7 MB, free: 5.137 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.008586, allocations: 159.4 kB / 352.9 MB, free: 4.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.008822, allocations: 147.3 kB / 353 MB, free: 4.836 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.802e-05/0.00889, allocations: 36 kB / 353.1 MB, free: 4.801 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.779e-05/0.008958, allocations: 40 kB / 353.1 MB, free: 4.762 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0006185/0.009577, allocations: 0.6345 MB / 353.7 MB, free: 4.121 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002979/0.009875, allocations: 390.8 kB / 354.1 MB, free: 3.734 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.33e-05/0.009938, allocations: 32 kB / 354.1 MB, free: 3.703 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.425e-05/0.009992, allocations: 15.92 kB / 354.2 MB, free: 3.688 MB / 286.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.00181/0.0118, allocations: 1.519 MB / 355.7 MB, free: 2.039 MB / 286.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002489/0.01205, allocations: 181.1 kB / 355.9 MB, free: 1.852 MB / 286.1 MB Notification: Performance of [SIM] Early Inline: time 0.0008119/0.01286, allocations: 0.7912 MB / 356.6 MB, free: 1.031 MB / 286.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003034/0.01317, allocations: 188.4 kB / 356.8 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of [SIM] Alias: time 0.002387/0.01555, allocations: 1.342 MB / 358.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002288/0.01578, allocations: 156.5 kB / 358.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001047/0.01589, allocations: 80.39 kB / 358.4 MB, free: 15 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003415/0.01623, allocations: 211.4 kB / 358.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001868/0.01642, allocations: 97.34 kB / 358.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003875/0.0168, allocations: 287.8 kB / 359 MB, free: 14.34 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0008124/0.01761, allocations: 0.5488 MB / 359.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005163/0.01813, allocations: 0.5232 MB / 360.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0007839/0.01892, allocations: 463.1 kB / 360.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0008606/0.01978, allocations: 0.7819 MB / 361.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 5.027e-05/0.01983, allocations: 30.67 kB / 361.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001432/0.01997, allocations: 147.9 kB / 361.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001359/0.02133, allocations: 0.9677 MB / 362.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0003139/0.02164, allocations: 191.3 kB / 362.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 7.32e-07/0.02164, allocations: 0 / 362.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0002792/0.02192, allocations: 172.1 kB / 362.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.658e-06/0.02193, allocations: 4 kB / 362.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0002477/0.02218, allocations: 174.2 kB / 363 MB, free: 10.22 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.425e-05/0.02219, allocations: 3.938 kB / 363 MB, free: 10.21 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001085/0.02328, allocations: 0.7007 MB / 363.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.001775/0.02505, allocations: 1.514 MB / 365.2 MB, free: 7.848 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: ........... 19 (scalar:19, 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: ........... 44 (scalar:44, 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.0001454/0.0252, allocations: 44.62 kB / 365.2 MB, free: 7.809 MB / 302.1 MB Notification: Performance of SimCode: time 0.001634/0.02683, allocations: 1.253 MB / 366.5 MB, free: 6.539 MB / 302.1 MB Notification: Performance of Templates: time 0.008001/0.03483, allocations: 3.251 MB / 369.7 MB, free: 3.281 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.867089973005932] Failed to read output from testmodel.py, exit status != 0: ['time', 'idealTriac.capacitor.v', 'idealTriac.idealThyristor.off', 'idealTriac.idealThyristor1.off'] 0.04380246897926554 0.058798361 0.045785730000000004 Calling exit ...