Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.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.001373/0.001373, allocations: 107.6 kB / 21.2 MB, free: 0.668 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.001502/0.001502, allocations: 211.5 kB / 24.49 MB, free: 3.973 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.471/1.471, allocations: 230.6 MB / 258.2 MB, free: 7.809 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_R,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_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R,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_R") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.335e-05, allocations: 5.375 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R): time 0.1874/0.1875, allocations: 4.833 MB / 383.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004475/0.1919, allocations: 2.216 MB / 386 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004907/0.1924, allocations: 34.41 kB / 386.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.1936, allocations: 0.6229 MB / 386.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.195, allocations: 0.7944 MB / 387.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.1965, allocations: 0.6301 MB / 388.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003691/0.2002, allocations: 3.079 MB / 391.2 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007386/0.201, allocations: 342.9 kB / 391.5 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002631/0.2036, allocations: 1.507 MB / 393 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.2047, allocations: 0.7263 MB / 393.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003091/0.205, allocations: 130.1 kB / 393.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003816/0.2054, allocations: 173 kB / 394 MB, free: 8.426 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001689/0.2071, allocations: 2.58 MB / 396.6 MB, free: 6.789 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007653/0.2078, allocations: 1.502 MB / 398.1 MB, free: 5.762 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002097/0.208, allocations: 79.97 kB / 398.2 MB, free: 5.762 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.000222/0.2083, allocations: 60.02 kB / 398.3 MB, free: 5.734 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: 197 (194) * Number of variables: 197 (187) Notification: Performance of [SIM] Bindings: time 0.004834/0.2131, allocations: 5.986 MB / 404.2 MB, free: 1.559 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006011/0.2137, allocations: 0.6257 MB / 404.9 MB, free: 1.035 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002938/0.2166, allocations: 3.174 MB / 408 MB, free: 14.57 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001339/0.218, allocations: 0.5999 MB / 408.6 MB, free: 14.18 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.006766/0.2247, allocations: 4.193 MB / 412.8 MB, free: 10.6 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000733/0.2255, allocations: 480.3 kB / 413.3 MB, free: 10.07 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003435/0.2258, allocations: 292 kB / 413.6 MB, free: 9.754 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0009929/0.2268, allocations: 0.7964 MB / 414.4 MB, free: 8.91 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0006358/0.2274, allocations: 451 kB / 414.8 MB, free: 8.457 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0014/0.2288, allocations: 1.193 MB / 416 MB, free: 7.133 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.003183/0.232, allocations: 2.272 MB / 418.3 MB, free: 4.723 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003177/0.2352, allocations: 2.318 MB / 420.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.006191/0.2414, allocations: 2.014 MB / 422.6 MB, free: 284 kB / 318.1 MB Notification: Performance of [INI] Inline: time 0.004774/0.2462, allocations: 4.02 MB / 426.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.0001767/0.2463, allocations: 76.05 kB / 426.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0008997/0.2472, allocations: 0.8625 MB / 427.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.02396/0.2712, allocations: 14.5 MB / 442.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 0.002119/0.2733, allocations: 1.045 MB / 443.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 2.565e-06/0.2733, allocations: 0 / 443.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.703e-05/0.2734, allocations: 5 kB / 443.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 0.0007206/0.2741, allocations: 380.3 kB / 443.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 3.653e-05/0.2741, allocations: 7.938 kB / 443.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.003596/0.2777, allocations: 1.904 MB / 445.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.001983/0.2797, allocations: 1.509 MB / 446.9 MB, free: 7.371 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: ............................. 10 (9) {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} * 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: ........... 115 (scalar:115, 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: ........... 229 (scalar:228, 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: ........... 229 (scalar:228, 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.0001875/0.2799, allocations: 145.5 kB / 447.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of SimCode: time 0.01129/0.2912, allocations: 7.976 MB / 455 MB, free: 15.27 MB / 366.1 MB Notification: Performance of Templates: time 0.02907/0.3203, allocations: 14.63 MB / 469.7 MB, free: 0.7188 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.makefile [Timeout 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.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_R -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_R.o Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.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_R -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_R_functions.o Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R_functions.c Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R_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_R_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 3.869107394013554] 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.3287586160004139 0.346081866 0.134138697 Calling exit ...