Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.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.001325/0.001325, 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.001488/0.001488, allocations: 206.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.408/1.408, 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.PowerConverters.Examples.ACAC.Dimmer_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|voltageSensor.v|multiSensor.i|multiSensor.v|multiSensor.power|meanPower.y|vRMS.y|vH01.y_rms|vH01.y_arg|iRMS.y|iH01.y_rms|iH01.y_arg",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|voltageSensor.v|multiSensor.i|multiSensor.v|multiSensor.power|meanPower.y|vRMS.y|vH01.y_rms|vH01.y_arg|iRMS.y|iH01.y_rms|iH01.y_arg",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.805e-05, allocations: 2.281 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL): time 0.1895/0.1895, allocations: 4.919 MB / 383.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003543/0.1931, allocations: 2.236 MB / 386.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004387/0.1935, allocations: 31.72 kB / 386.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.1946, allocations: 0.6328 MB / 386.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.1958, allocations: 0.7981 MB / 387.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.197, allocations: 0.6404 MB / 388.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00322/0.2003, allocations: 3.098 MB / 391.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005985/0.2009, allocations: 349.4 kB / 391.7 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.2028, allocations: 1.513 MB / 393.2 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008706/0.2036, allocations: 0.7296 MB / 393.9 MB, free: 8.324 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002393/0.2039, allocations: 134.1 kB / 394 MB, free: 8.324 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000383/0.2043, allocations: 178.4 kB / 394.2 MB, free: 8.309 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001735/0.206, allocations: 2.621 MB / 396.8 MB, free: 6.645 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007068/0.2067, allocations: 1.526 MB / 398.4 MB, free: 5.602 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.2069, allocations: 86.16 kB / 398.4 MB, free: 5.598 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.000211/0.2071, allocations: 63.36 kB / 398.5 MB, free: 5.566 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: 203 (200) * Number of variables: 203 (193) Notification: Performance of [SIM] Bindings: time 0.00474/0.2118, allocations: 6.084 MB / 404.6 MB, free: 1.32 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005868/0.2124, allocations: 0.6359 MB / 405.2 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.003154/0.2156, allocations: 3.235 MB / 408.5 MB, free: 14.29 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001011/0.2166, allocations: 0.6067 MB / 409.1 MB, free: 13.89 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.006125/0.2227, allocations: 4.304 MB / 413.4 MB, free: 10.06 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0007314/0.2235, allocations: 498.8 kB / 413.9 MB, free: 9.516 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003533/0.2238, allocations: 284 kB / 414.1 MB, free: 9.207 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001036/0.2248, allocations: 0.8093 MB / 414.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0006714/0.2255, allocations: 451.7 kB / 415.4 MB, free: 7.895 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001475/0.227, allocations: 1.201 MB / 416.6 MB, free: 6.562 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.003263/0.2303, allocations: 2.287 MB / 418.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00249/0.2327, allocations: 2.33 MB / 421.2 MB, free: 1.805 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.00502/0.2378, allocations: 2.035 MB / 423.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.004279/0.242, allocations: 4.086 MB / 427.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.0001887/0.2422, allocations: 72.06 kB / 427.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0009662/0.2432, allocations: 0.882 MB / 428.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.02206/0.2653, allocations: 14.79 MB / 443.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 0.001411/0.2667, allocations: 1.065 MB / 444.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 1.373e-06/0.2667, allocations: 0 / 444.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.318e-05/0.2667, allocations: 8.984 kB / 444.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 0.0005119/0.2672, allocations: 364.2 kB / 444.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 3.392e-05/0.2672, allocations: 15.88 kB / 444.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.003203/0.2705, allocations: 1.927 MB / 446.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.001887/0.2723, allocations: 1.482 MB / 447.9 MB, free: 6.293 MB / 350.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: ......... 16 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 11 (10) {adaptor.filter.firstOrder.y, adaptor.filter.transferFunction.x_scaled, meanPower.x, vRMS.mean.x, vH01.mean1.x, vH01.mean2.x, iRMS.mean.x, iH01.mean1.x, iH01.mean2.x, loadInductor.i} * Number of discrete states: .................... 11 (11) {iH01.mean2.y_last, iH01.mean1.y_last, iRMS.mean.y_last, vH01.mean2.y_last, vH01.mean1.y_last, vRMS.mean.y_last, meanPower.y, trapezoid.T_start, trapezoid.count, adaptor.timerNegative.entryTime, adaptor.timerPositive.entryTime} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 46 (46) {triac.fire1, triac.fire2, triac.thyristor1.off, triac.thyristor2.off, adaptor.positiveThreshold.y, adaptor.negativeThreshold.y, adaptor.fire_p, adaptor.fire_n, $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_18, $TEV_17, $TEV_16, $TEV_15, $TEV_14, $TEV_13, $TEV_12, $TEV_11, $TEV_10, $TEV_9, $TEV_8, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $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: ........... 120 (scalar:120, array:0, record:0) * Number of multi strong components: ............ 11 (algorithm:0, when:11, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (resizable: 2, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 236 (scalar:235, array:0, record:1) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 13 (resizable: 13, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 236 (scalar:235, array:0, record:1) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 13 (resizable: 13, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 0.0001611/0.2725, allocations: 141 kB / 448.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of SimCode: time 0.01137/0.2839, allocations: 7.977 MB / 456 MB, free: 14.2 MB / 366.1 MB Notification: Performance of Templates: time 0.03162/0.3155, allocations: 14.62 MB / 470.7 MB, free: 15.65 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.makefile [Timeout 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACAC_Dimmer_RL -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.o Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACAC_Dimmer_RL -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL_functions.o Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL_functions.c Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL_functions.c:336:9: error: assigning to 'modelica_real' (aka 'double') from incompatible type 'real_array' (aka 'struct base_array_s') tmp17 = mul_alloc_real_array(tmp15, tmp16); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 3.7249904070049524] Failed to read output from testmodel.py, exit status != 0: ['time', 'voltageSensor.v', 'multiSensor.i', 'multiSensor.v', 'multiSensor.power', 'meanPower.y', 'vRMS.y', 'vH01.y_rms', 'vH01.y_arg', 'iRMS.y', 'iH01.y_rms', 'iH01.y_arg'] 0.3241042769514024 0.33862664299999995 0.12851557899999994 Calling exit ...