Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.001894/0.001894, allocations: 109.2 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.002385/0.002385, allocations: 213.5 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.721/1.721, allocations: 207.7 MB / 236.2 MB, free: 9.77 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.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.523e-05/3.523e-05, allocations: 2.281 kB / 348.5 MB, free: 9.367 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.007423/0.007458, allocations: 3.591 MB / 352.1 MB, free: 5.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003571/0.01103, allocations: 1.306 MB / 353.4 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004384/0.01147, allocations: 11.94 kB / 353.4 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.01265, allocations: 262.8 kB / 353.7 MB, free: 4.164 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008821/0.01354, allocations: 258.3 kB / 353.9 MB, free: 3.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008429/0.01438, allocations: 267.4 kB / 354.2 MB, free: 3.648 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001139/0.01552, allocations: 0.8022 MB / 355 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003202/0.01584, allocations: 113.5 kB / 355.1 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004242/0.01626, allocations: 299 kB / 355.4 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003711/0.01663, allocations: 282.7 kB / 355.7 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.01674, allocations: 52 kB / 355.7 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.01699, allocations: 95.97 kB / 355.8 MB, free: 2.02 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001054/0.01805, allocations: 1.126 MB / 357 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005364/0.01858, allocations: 0.6786 MB / 357.6 MB, free: 200 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.532e-05/0.01868, allocations: 52 kB / 357.7 MB, free: 148 kB / 286.1 MB Notification: Performance of FrontEnd: time 9.723e-05/0.01878, allocations: 27.92 kB / 357.7 MB, free: 120 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 (98) * Number of variables: 98 (98) Notification: Performance of [SIM] Bindings: time 0.00303/0.02181, allocations: 2.506 MB / 360.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004003/0.02221, allocations: 266.5 kB / 360.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001313/0.02352, allocations: 1.175 MB / 361.7 MB, free: 12 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004946/0.02401, allocations: 272.2 kB / 361.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003242/0.02726, allocations: 1.943 MB / 363.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003153/0.02757, allocations: 214.3 kB / 364.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001607/0.02773, allocations: 132.2 kB / 364.2 MB, free: 9.09 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000484/0.02822, allocations: 307.2 kB / 364.5 MB, free: 8.738 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002939/0.02851, allocations: 161.4 kB / 364.7 MB, free: 8.578 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006429/0.02915, allocations: 486.5 kB / 365.1 MB, free: 8.062 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001354/0.03051, allocations: 0.9492 MB / 366.1 MB, free: 7.066 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009411/0.03145, allocations: 0.8666 MB / 367 MB, free: 6.199 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.003134/0.03458, allocations: 0.8517 MB / 367.8 MB, free: 5.277 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001366/0.03595, allocations: 1.323 MB / 369.1 MB, free: 3.949 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 8.036e-05/0.03603, allocations: 43.98 kB / 369.2 MB, free: 3.898 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.000245/0.03627, allocations: 235.8 kB / 369.4 MB, free: 3.668 MB / 302.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $SEV_5 = IdealGTOThyristor2.s < 0.0 or not IdealGTOThyristor2.fire ($RES_EVT_114); [SCAL] (1) $SEV_1 = IdealGTOThyristor1.s < 0.0 or not IdealGTOThyristor1.fire ($RES_EVT_110); Notification: Performance of [INI] Causalize: time 0.00414/0.04041, allocations: 2.664 MB / 372.1 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.000792/0.04121, allocations: 453.2 kB / 372.5 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.543e-06/0.04121, allocations: 0 / 372.5 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0006174/0.04182, allocations: 308.5 kB / 372.8 MB, free: 204 kB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.005e-05/0.04184, allocations: 7.938 kB / 372.8 MB, free: 196 kB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0008254/0.04267, allocations: 0.5169 MB / 373.3 MB, free: 15.69 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 2.413e-05/0.04269, allocations: 7.938 kB / 373.3 MB, free: 15.68 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.001882/0.04458, allocations: 1.099 MB / 374.4 MB, free: 14.58 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.003046/0.04762, allocations: 2.891 MB / 377.3 MB, free: 11.3 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: ............... 0 * Number of algebraic event partitions: ......... 5 * 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: .................... 3 (3) {booleanPulse.pulseStart, booleanStep1.combiTimeTable.nextTimeEvent, booleanStep1.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 20 (20) {IdealThyristor1.off, IdealGTOThyristor1.off, IdealGTOThyristor1.fire, IdealThyristor2.off, IdealGTOThyristor2.off, IdealGTOThyristor2.fire, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $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: ........... 32 (scalar:32, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 4, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 69 (scalar:68, array:1, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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: ... 4 (linear: 4, nonlinear:0) Notification: Performance of backend: time 0.0001299/0.04775, allocations: 61.77 kB / 377.4 MB, free: 11.24 MB / 318.1 MB Notification: Performance of SimCode: time 0.004696/0.05245, allocations: 2.387 MB / 379.8 MB, free: 8.805 MB / 318.1 MB Notification: Performance of Templates: time 0.01406/0.06651, allocations: 6.327 MB / 386.1 MB, free: 2.457 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.36473902198486] Failed to read output from testmodel.py, exit status != 0: ['time', 'IdealThyristor1.off', 'IdealThyristor2.off', 'booleanStep1.y'] 0.0765407370054163 0.339162481 0.317132299 Calling exit ...